Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Made more stuff quiet

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit c1a1b0b938a13f30c64e26122833aaba8dce7844 1 parent 1dbb4ad
David Heinemeier Hansson dhh authored
Showing with 4 additions and 3 deletions.
  1. +4 −3 activesupport/lib/core_ext/string/inflections.rb
7 activesupport/lib/core_ext/string/inflections.rb
View
@@ -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)
Please sign in to comment.
Something went wrong with that request. Please try again.