method
plural
v6.0.0 -
Show latest stable
- Class:
ActiveSupport::Inflector::Inflections
plural(rule, replacement)public
Specifies a new pluralization 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.