README.md in iceland-0.1.8 vs README.md in iceland-0.1.9
- old
+ new
@@ -36,10 +36,14 @@
# Get all postal codes, skipping codes assigned to P.O. boxes.
# This is useful when generating forms.
Iceland.all_postal_codes
# => [{:postal_code=>101, :locale=>"Reykjavík"}, {:postal_code=>103, [...]
+# Get the same postal codes in nomative form
+Iceland.all_postal_codes false, true
+# => [{:postal_code=>101, :locale=>"Reykjavík"}, {:postal_code=>103, [...]
+
# Get all postal codes, including P.O. boxes
Iceland.all_postal_codes true
# => [{:postal_code=>101, :locale=>"Reykjavík"}, {:postal_code=>103, [...]
# Get the name of locale based on its postal code.
@@ -122,10 +126,10 @@
# => false
k.is_person?
# => true
-# Get the birth date or registration day as a Date object
+# Cast the kennitala to a Date object
k.to_date
# => #<Date: 1930-01-01 ((2425978j,0s,0n),+0s,2299161j)>
# Get the current age of the entity. Useful for age restrictions.
k.age