Skip to content

rspine/countries

Repository files navigation

Spine::Countries

Gem Version Dependency Status Code Climate security Inline docs

Provides ISO-3166 countries list.

Installation

To install it, add the gem to your Gemfile:

gem 'spine-countries'

Then run bundle. If you're not using Bundler, just gem install spine-countries.

Usage

country = Spine::Countries.find('US')
country.name
# => 'United States'