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) -> ActiveSupport::Inflector::Inflections

This signature was generated using 12 samples 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