Sha256: 071b40a566ca7dacd9704f0591f656cff62d499748dfe7f937bc56617388aef3

Contents?: true

Size: 395 Bytes

Versions: 9

Compression:

Stored size: 395 Bytes

Contents

# frozen_string_literal: true

require 'countries'

# Some apps might not want to constantly call +ISO3166::Country+. This gem has a helper that can provide a Country class
#
# With global Country Helper enabled
#
#   c = Country['US']
#
# This will conflict with any existing Country constant
#
# To Use
#
#   gem 'countries', require: 'countries/global'
#
class Country < ISO3166::Country
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
countries-7.1.1 lib/countries/global.rb
countries-7.1.0 lib/countries/global.rb
countries-7.0.0 lib/countries/global.rb
countries-6.0.0 lib/countries/global.rb
countries-5.7.2 lib/countries/global.rb
countries-5.7.1 lib/countries/global.rb
countries-5.7.0 lib/countries/global.rb
countries-5.6.0 lib/countries/global.rb
countries-5.5.0 lib/countries/global.rb