Module: XX
- Defined in:
- lib/helper_methods.rb,
lib/extensions/parse.rb
Defined Under Namespace
Classes: Parse
Class Method Summary collapse
Class Method Details
.pluralize(count, singular, plural) ⇒ Object
2 3 4 5 6 7 8 |
# File 'lib/helper_methods.rb', line 2 def self.pluralize(count, singular, plural) if count.abs == 1 singular else plural end end |