Method: MotionSupport::Inflector::Inflections#uncountable
- Defined in:
- motion/inflector/inflections.rb
#uncountable(*words) ⇒ Object
Add uncountable words that shouldn’t be attempted inflected.
uncountable 'money'
uncountable 'money', 'information'
uncountable %w( money information rice )
156 157 158 |
# File 'motion/inflector/inflections.rb', line 156 def uncountable(*words) (@uncountables << words).flatten! end |