module ISO3166::CountryClassMethods
def strip_accents(string)
def strip_accents(string) if string.is_a?(Regexp) Regexp.new(Unaccent.unaccent(string.source), 'i') else Unaccent.unaccent(string.to_s).downcase end end
def strip_accents(string) if string.is_a?(Regexp) Regexp.new(Unaccent.unaccent(string.source), 'i') else Unaccent.unaccent(string.to_s).downcase end end