class ISO3166::Data
def load_data!
def load_data! return @@cache unless load_required? synchronized do @@cache = load_cache %w(countries.json) @@_country_codes = @@cache.keys @@cache = @@cache.merge(@@registered_data) @@cache end end
def load_data! return @@cache unless load_required? synchronized do @@cache = load_cache %w(countries.json) @@_country_codes = @@cache.keys @@cache = @@cache.merge(@@registered_data) @@cache end end