From aa0e1fac3e2988710f799795eaae2a06202540c6 Mon Sep 17 00:00:00 2001 From: Greg Molnar Date: Wed, 27 Nov 2013 19:13:37 +0100 Subject: [ci skip] removed singulars section from classify doc --- activesupport/lib/active_support/core_ext/string/inflections.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activesupport/lib/active_support') 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 -- cgit v1.2.3