class I18n::Config
def available_locales_set #:nodoc:
Experimental RBS support (using type sampling data from the type_fusion
project).
def available_locales_set: () -> Set
This signature was generated using 2 samples from 2 applications.
that we can have faster lookups to do the available locales enforce check.
Caches the available locales list as both strings and symbols in a Set, so
def available_locales_set #:nodoc: @@available_locales_set ||= available_locales.inject(Set.new) do |set, locale| set << locale.to_s << locale.to_sym end end