module ISO3166
Experimental RBS support (using type sampling data from the type_fusion
project).
# sig/countries/configuration.rbs module ISO3166 def self.configuration: () -> ISO3166::Configuration end
def self.Country(country_data_or_country)
def self.Country(country_data_or_country) case country_data_or_country when ISO3166::Country country_data_or_country when String, Symbol ISO3166::Country.search(country_data_or_country) else raise TypeError, "can't convert #{country_data_or_country.class.name} into ISO3166::Country" end end
def self.configuration
Experimental RBS support (using type sampling data from the type_fusion
project).
def self.configuration: () -> ISO3166::Configuration
This signature was generated using 56 samples from 2 applications.
def self.configuration @configuration ||= Configuration.new end
def self.configure
def self.configure yield(configuration) end
def self.reset
def self.reset @configuration = Configuration.new Data.reset end