diff options
author | Xavier Noria <fxn@hashref.com> | 2011-10-30 02:08:59 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-10-30 02:08:59 -0700 |
commit | 9d1ba3755e9af6196240fc18472e2cc4fcbb4911 (patch) | |
tree | 30e55b577dfe03a5f7e97343c4762008796fbe80 /activesupport/lib/active_support/core_ext/string/inflections.rb | |
parent | 75ee4d97ef68dc3be22bd68102030f495cbc8d4a (diff) | |
download | rails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.tar.gz rails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.tar.bz2 rails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.zip |
fixes a typo (thanks to Alexey Vakhov)
Diffstat (limited to 'activesupport/lib/active_support/core_ext/string/inflections.rb')
-rw-r--r-- | activesupport/lib/active_support/core_ext/string/inflections.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb index 9356940650..1e57b586d9 100644 --- a/activesupport/lib/active_support/core_ext/string/inflections.rb +++ b/activesupport/lib/active_support/core_ext/string/inflections.rb @@ -118,7 +118,7 @@ class String # "ActiveRecord::CoreExtensions::String::Inflections".demodulize # => "Inflections" # "Inflections".demodulize # => "Inflections" # - # See also +deconstatize+. + # See also +deconstantize+. def demodulize ActiveSupport::Inflector.demodulize(self) end |