Method: Sequel::Inflections.uncountable
- Defined in:
- lib/sequel/model/inflections.rb
.uncountable(*words) ⇒ Object
Add uncountable words that shouldn’t be attempted inflected.
Examples:
uncountable "money"
uncountable "money", "information"
uncountable %w( money information rice )
91 92 93 |
# File 'lib/sequel/model/inflections.rb', line 91 def self.uncountable(*words) (@uncountables << words).flatten! end |