1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Made more stuff quiet

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@442 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
David Heinemeier Hansson 2005-01-17 01:35:50 +00:00
parent 1dbb4adec1
commit c1a1b0b938

View file

@ -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)