class ActiveSupport::Inflector::Inflections

def self.instance_or_fallback(locale)

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

def self.instance_or_fallback: (Symbol locale) -> untyped

This signature was generated using 1 sample from 1 application.

def self.instance_or_fallback(locale)
  I18n.fallbacks[locale].each do |k|
    return @__instance__[k] if @__instance__.key?(k)
  end
  instance(locale)
end