module ActiveSupport::Inflector

def inflections(locale = :en)

Experimental RBS support (using type sampling data from the type_fusion project).

def inflections: (?Symbol locale) -> ActiveSupport::Inflector::Inflections

This signature was generated using 11 samples from 2 applications.

end
inflect.uncountable 'rails'
ActiveSupport::Inflector.inflections(:en) do |inflect|

Only rules for English are provided.
languages can be specified. If not specified, defaults to :en.
additional inflector rules. If passed an optional locale, rules for other
Yields a singleton instance of Inflector::Inflections so you can specify
def inflections(locale = :en)
  if block_given?
    yield Inflections.instance(locale)
  else
    Inflections.instance_or_fallback(locale)
  end
end