README.md in iso-0.1.1 vs README.md in iso-0.2.0
- old
+ new
@@ -24,12 +24,21 @@
> ISO::Region.find('MX')
=> #<ISO::Region:0x007fe2ba070e50
@code="MX",
- @name="Mexico">
+ @name="Mexico">
+
+Regions can also be defined by the **UN M49** standard; that is the 3 digit region code.
+
+ > ISO::UN::Region.find('419')
+ => #<ISO::Region:0x007fe2ba43db50
+ @code="419",
+ @name="Latin America and the Caribbean">
+
+
## Tags
The combination of a language and a region is called a Tag :
> ISO::Tag.new('pt-BR')
@@ -44,11 +53,11 @@
@code="BR",
@name="Brazil">>
You can check if a Tag is valid like so :
- > ISO::Tag.new('pt-BR').valid? => true
- > ISO::Tag.new('lolcat').valid? => false
+ > ISO::Tag.new('pt-BR').valid? => true
+ > ISO::Tag.new('lolcat').valid? => false
## I18n
Language and region names are internationalized - [contribute to the I18n project directly on Locale](http://www.localeapp.com/projects/1763) for any changes.