lib/iso639.rb in iso639-1.0.2 vs lib/iso639.rb in iso639-1.0.3
- old
+ new
@@ -9,20 +9,20 @@
# Language code mappings came from
# http://loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt
#
# Examples
#
-# Iso639["en"] # => #<Iso639::Language:...>
+# Iso639["en"] # => "English"
# Iso639["en"].alpha2 # => "en"
# Iso639["en"].alpha3 # => "eng"
# Iso639["en"].alpha3_bibliographic # => "eng"
# Iso639["en"].alpha3_terminology # => nil
# Iso639["en"].name # => "English"
# Iso639["en"].english_name # => "English"
# Iso639["en"].french_name # => "anglais"
#
-# Iso639["German"] # => #<Iso639::Language:...>
+# Iso639["German"] # => "German"
# Iso639["German"].alpha2 # => "de"
# Iso639["German"].alpha3 # => "ger"
# Iso639["German"].alpha3_bibliographic # => "ger"
# Iso639["German"].alpha3_terminology # => "deu"
# Iso639["German"].name # => "German"
@@ -49,9 +49,10 @@
#
# lookup - A String representing an alpha-2, alpha-3, or language name
#
# Examples
#
+ # Iso639["en"] # => "English"
# Iso639["en"].alpha3 # => "eng"
# Iso639["English"].alpha2 # => "en"
# Iso639["FRENCH"].alpha3 # => "fre"
# Iso639["deu"].alpha3 # => "ger"
#