class I18n::Locale::Fallbacks

def [](locale)

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

def []: (Symbol locale) -> untyped

This signature was generated using 37 samples from 1 application.

def [](locale)
  raise InvalidLocale.new(locale) if locale.nil?
  raise Disabled.new('fallback#[]') if locale == false
  locale = locale.to_sym
  super || store(locale, compute(locale))
end