mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
fixes a typo (thanks to Alexey Vakhov)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user