class ISO3166::Setup
def data
def data return @data if instance_variable_defined?('@data') @data = {} codes.each do |alpha2| @data[alpha2] = Data.new(alpha2).call end @data.freeze end
def data return @data if instance_variable_defined?('@data') @data = {} codes.each do |alpha2| @data[alpha2] = Data.new(alpha2).call end @data.freeze end