Class: MetalArchives::Parsers::Country

Inherits:
Base
  • Object
show all
Defined in:
lib/metal_archives/parsers/country.rb

Overview

Country parser

Class Method Summary collapse

Class Method Details

.parse(input) ⇒ Object

Parse a country

Returns ISO3166::Country



16
17
18
# File 'lib/metal_archives/parsers/country.rb', line 16

def self.parse(input)
  ISO3166::Country.find_country_by_name(input)
end