Method: String::Inflections.uncountable
- Defined in:
- lib/sequel/extensions/inflector.rb
.uncountable(*words) ⇒ Object
Add uncountable words that shouldn’t be attempted inflected.
Examples:
uncountable "money"
uncountable "money", "information"
uncountable %w( money information rice )
94 95 96 |
# File 'lib/sequel/extensions/inflector.rb', line 94 def self.uncountable(*words) (@uncountables << words).flatten! end |