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:
parent
1dbb4adec1
commit
c1a1b0b938
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue