Flowdock
method

singular

Importance_1
v1.2.0 - Show latest stable - 0 notes - Class: Inflector::Inflections
singular(rule, replacement) public

Specifies a new singularization rule and its replacement. The rule can either be a string or a regular expression. The replacement should always be a string that may include references to the matched data from the rule.

Show source
Register or log in to add new notes.