aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-11-27 10:42:57 -0800
committerXavier Noria <fxn@hashref.com>2013-11-27 10:42:57 -0800
commitcea574b1487b4456a08091110d49431572ae3ae6 (patch)
tree7aa9fbb08ca916cc3ffcbe68f5e2e7404b79dbe7 /activesupport
parentd4016f24fb5266b361f44da66de445abfbb086e1 (diff)
parentaa0e1fac3e2988710f799795eaae2a06202540c6 (diff)
downloadrails-cea574b1487b4456a08091110d49431572ae3ae6.tar.gz
rails-cea574b1487b4456a08091110d49431572ae3ae6.tar.bz2
rails-cea574b1487b4456a08091110d49431572ae3ae6.zip
Merge pull request #13079 from gregmolnar/inflector_docs
[ci skip] removed singulars section from classify doc
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/string/inflections.rb4
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/lib/active_support/core_ext/string/inflections.rb b/activesupport/lib/active_support/core_ext/string/inflections.rb
index b7b750c77b..cf9b1a4ec0 100644
--- a/activesupport/lib/active_support/core_ext/string/inflections.rb
+++ b/activesupport/lib/active_support/core_ext/string/inflections.rb
@@ -182,10 +182,6 @@ class String
#
# 'egg_and_hams'.classify # => "EggAndHam"
# 'posts'.classify # => "Post"
- #
- # Singular names are not handled correctly.
- #
- # 'business'.classify # => "Business"
def classify
ActiveSupport::Inflector.classify(self)
end