fixes a typo (thanks to Alexey Vakhov)

This commit is contained in:
Xavier Noria
2011-10-30 02:08:59 -07:00
parent 75ee4d97ef
commit 9d1ba3755e

View File

@@ -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