alexrabarts / iso_country_codes

A Ruby library that provides ISO 3166-1 country codes/names and ISO 4217 currencies
http://github.com/alexrabarts/iso-country-codes
163 stars 62 forks source link

Added dialing codes #5

Closed WassifAziz closed 11 years ago

WassifAziz commented 12 years ago

Created a new method called find_country which allows you to search using dialing codes.

Updated each country with dialing code.

This may not be the best way to implement this, if you have a better way. do share! :)

alexrabarts commented 11 years ago

Thanks for the input regarding calling/dialing codes, particularly for gathering the codes themselves together. Calling codes are now in version 0.4.0, albeit a slightly different implementation to this pull request. Let me know if you have any further feedback.

Alex