module Dry::Inflector::Inflections::Defaults
def self.irregular(inflect)
- Api: - private
Other tags:
- Since: - 0.1.0
def self.irregular(inflect) inflect.irregular("person", "people") inflect.irregular("man", "men") # NOTE: this is here only to override the previous rule inflect.irregular("human", "humans") inflect.irregular("child", "children") inflect.irregular("sex", "sexes") inflect.irregular("foot", "feet") inflect.irregular("tooth", "teeth") inflect.irregular("goose", "geese") # FIXME: this is here because I need to fix the "um" regexp inflect.irregular("forum", "forums") end