method

inflections

Importance_2
v2.1.0 - Show latest stable - 1 note - Class: Inflector
inflections() public

Yields a singleton instance of Inflector::Inflections so you can specify additional inflector rules.

Example:

  Inflector.inflections do |inflect|
    inflect.uncountable "rails"
  end
Show source
Register or log in to add new notes.
September 24, 2009 - (>= v2.2.1)
0 thanks