README.md in mockdata-1.0.6 vs README.md in mockdata-1.0.7
- old
+ new
@@ -117,10 +117,14 @@
`Mockdata::Numbers.choose_from_array_with_possible_duplicates([1, 2, 3, 4], 3) => [4, 2, 2]`
`Mockdata::Numbers.choose_from_array_without_duplicates([1, 2, 3, 4], 3) => [4, 2, 3]`
+Return written number from zero to 100 inclusive:
+
+`Mockdata::Numbers.written_number(42) => "forty-two"`
+
#### People
The first and last names contain English, European, Asian and other names.
`Mockdata::People.first_and_last_name => "David Allen"`
@@ -145,10 +149,12 @@
`Mockdata::People.email_address_based_on_first_and_last_name("David", "Allen") => "david.allen@example.com"`
Note: all email addresses use `example.com` to prevent accidentally generating real email addresses.
+`Mockdata::People.physicists_last_name => "du Châtelet"`
+
#### Time-zones
Return a random time-zone:
`Mockdata::TimeZones.pick => {"Minsk"=>"Europe/Minsk"}`
@@ -168,9 +174,13 @@
`Mockdata::Words.pick(10) => "well shovel slick doctor poke seek threat bone together obey"`
Return between 2 and 10 random words separated by spaces:
`Mockdata::Words.some(2..10) => "beam scan grown tape course thimble newscast main asleep"`
+
+Return translations for the word 'sun':
+
+`Mockdata::Words.word_for_sun => "zon"`
#### License
MIT (see LICENSE.txt)