aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2011-10-30 02:08:59 -0700
committerXavier Noria <fxn@hashref.com>2011-10-30 02:08:59 -0700
commit9d1ba3755e9af6196240fc18472e2cc4fcbb4911 (patch)
tree30e55b577dfe03a5f7e97343c4762008796fbe80 /activesupport
parent75ee4d97ef68dc3be22bd68102030f495cbc8d4a (diff)
downloadrails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.tar.gz
rails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.tar.bz2
rails-9d1ba3755e9af6196240fc18472e2cc4fcbb4911.zip
fixes a typo (thanks to Alexey Vakhov)
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb2
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