Sha256: c4f64e64d6e820286afcbde0b60ae2ee9b517cf4e2dca42e6a50d099bd960d80

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

class IsoCountryCodes
  class Code
  <% codes.keys.each do |code| -%>
    class <%= code.upcase %> < Code #:nodoc:
      self.numeric = %q{<%= codes[code][:numeric] %>}
      self.name    = %q{<%= codes[code][:name] %>}
      self.alpha2  = %q{<%= codes[code][:alpha2] %>}
      self.alpha3  = %q{<%= codes[code][:alpha3] %>}
    end
  <% end -%>
  end # end Code
end # IsoCountryCodes

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alexrabarts-iso_country_codes-0.1.1 rakelib/iso_3166_1.rb.erb
alexrabarts-iso_country_codes-0.1.2 rakelib/iso_3166_1.rb.erb
alexrabarts-iso_country_codes-0.2.0 rakelib/iso_3166_1.rb.erb
alexrabarts-iso_country_codes-0.2.1 rakelib/iso_3166_1.rb.erb