File: global.rb

package info (click to toggle)
ruby-countries 4.2.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,196 kB
  • sloc: ruby: 2,085; makefile: 4
file content (17 lines) | stat: -rw-r--r-- 365 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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