The Code Abode
All things code from Ruby to PHP, C#, Backbone.JS and Coffeescript
Pages
Blog
Github
Twitter
Friday, July 20, 2012
3 Character to 2 Character Country Codes
For anyone else who needs to map 3 character to 2 character country codes in ruby, I have provided the following class based on the ISO_3166-1 country code list found at
http://en.wikipedia.org/wiki/ISO_3166-1#Current_codes
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment