aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/core_ext/string/inflections.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/core_ext/string/inflections.rb')
-rw-r--r--activesupport/lib/core_ext/string/inflections.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/activesupport/lib/core_ext/string/inflections.rb b/activesupport/lib/core_ext/string/inflections.rb
index fc2de08f0c..c63b0592b4 100644
--- a/activesupport/lib/core_ext/string/inflections.rb
+++ b/activesupport/lib/core_ext/string/inflections.rb
@@ -1,7 +1,8 @@
require File.dirname(__FILE__) + '/../../inflector'
-module ActiveSupport
- module CoreExtensions
- module String
+module ActiveSupport #:nodoc:
+ module CoreExtensions #:nodoc:
+ module String #:nodoc:
+ # Makes it possible to do "posts".singularize that returns "post" and "MegaCoolClass".underscore that returns "mega_cool_class".
module Inflections
def pluralize
Inflector.pluralize(self)