Method: String#pluralize
- Defined in:
- lib/core/string.rb
#pluralize(count = 2) ⇒ Object
dumb and ugly pluralize
146 147 148 |
# File 'lib/core/string.rb', line 146 def pluralize(count=2) count > 1 ? self + "s" : self end |
dumb and ugly pluralize
146 147 148 |
# File 'lib/core/string.rb', line 146 def pluralize(count=2) count > 1 ? self + "s" : self end |