mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
4e56cc2f99
commit
1afe7f2b79
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ class String
|
|||
#
|
||||
# Singular names are not handled correctly.
|
||||
#
|
||||
# "business".classify # => "Business"
|
||||
# "business".classify # => "Busines"
|
||||
def classify
|
||||
ActiveSupport::Inflector.classify(self)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue