module ISO3166::CountryClassMethods

def new(country_data)

def new(country_data)
  super if country_data.is_a?(Hash) || codes.include?(country_data.to_s.upcase)
end