Sha256: d2de7a66f57e359798b4ded461ca38a73964fc5da801d7c659a1d831fb25a5bb

Contents?: true

Size: 240 Bytes

Versions: 4

Compression:

Stored size: 240 Bytes

Contents

module Iso3166Ru
  Country = Struct.new(:name, :full_name, :english, :alpha2, :alpha3, :iso,
    :location, :location_precise)

  module CountryFactory
    def self.build(country_config)
      Country.new(*country_config)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
iso3166_ru-0.2.0 lib/iso3166_ru/country.rb
iso3166_ru-0.1.2 lib/iso3166_ru/country.rb
iso3166_ru-0.1.1 lib/iso3166_ru/country.rb
iso3166_ru-0.1.0 lib/iso3166_ru/country.rb