|
23 | 23 |
|
24 | 24 | ## Features |
25 | 25 |
|
26 | | -- Internet: Generate Email addresses, Passwords, Domains, etc. |
| 26 | +- Internet: Email addresses, Passwords, Domains, etc. |
27 | 27 | - Date and Time: Travel back in time or to the future. |
28 | | -- Person: Generate Names, Genders, Bios, Job titles, and more. |
29 | | -- Number and String: Generate random numbers and strings. |
30 | | -- Location: Generate Addresses, Zip Codes, Street Names, States, and Countries. |
31 | | -- Finance: Create Account Details, Transactions, and Crypto Addresses. |
32 | | -- Localization - Pick from over 40 locales to generate realistic looking Names, Addresses, and Phone Numbers. |
| 28 | +- Person: Names, Genders, Bios, Job titles, and more. |
| 29 | +- Number add String: Random numbers and strings. |
| 30 | +- Location: Addresses, Zip Codes, Street Names, States, and Countries. |
| 31 | +- Finance: Account Details, Transactions, and Crypto Addresses. |
| 32 | +- Localization - Customize faker with over 40 locales to generate realistic-looking Names, Addresses, and Phone Numbers. |
33 | 33 |
|
34 | | -> [!IMPORTANT] The generated names, addresses, emails, phone numbers, and/or other data might be coincidentally valid information. Please be careful when using faker for testing. |
| 34 | +> **Note** The generated names, addresses, emails, phone numbers, and/or other data might return valid information. Please be careful when using faker in your tests. |
35 | 35 |
|
36 | 36 | For a complete list of the generators, see [Generators](./GENERATORS.md). |
37 | 37 |
|
@@ -71,7 +71,7 @@ Faker::ProgrammingLanguage.name #=> "Ruby" |
71 | 71 | - [Notes](#notes) |
72 | 72 | - [Ensuring unique values](#ensuring-unique-values) |
73 | 73 | - [Deterministic Random](#deterministic-random) |
74 | | - - [Customization](#customization) |
| 74 | + - [Localization](#localization) |
75 | 75 | - [Minitest and Faker \>= 2.22](#minitest-and-faker--222) |
76 | 76 | - [Generators](#generators) |
77 | 77 | - [Contributing](#contributing) |
@@ -122,19 +122,19 @@ to provide deterministic output of repeated method calls. |
122 | 122 |
|
123 | 123 | ```ruby |
124 | 124 | Faker::Config.random = Random.new(42) |
125 | | -Faker::Lorem.word #=> "velit" |
126 | | -Faker::Lorem.word #=> "quisquam" |
| 125 | +Faker::Lorem.word #=> "velit" |
| 126 | +Faker::Lorem.word #=> "quisquam" |
127 | 127 |
|
128 | 128 | Faker::Config.random = Random.new(42) |
129 | | -Faker::Lorem.word #=> "velit" |
130 | | -Faker::Lorem.word #=> "quisquam" |
| 129 | +Faker::Lorem.word #=> "velit" |
| 130 | +Faker::Lorem.word #=> "quisquam" |
131 | 131 |
|
132 | | -Faker::Config.random = nil # seeds the PRNG using default entropy sources |
133 | | -Faker::Config.random.seed #=> 185180369676275068918401850258677722187 |
134 | | -Faker::Lorem.word #=> "ipsam" |
| 132 | +Faker::Config.random = nil # seeds the PRNG using default entropy sources |
| 133 | +Faker::Config.random.seed #=> 185180369676275068918401850258677722187 |
| 134 | +Faker::Lorem.word #=> "ipsam" |
135 | 135 | ``` |
136 | 136 |
|
137 | | -### Customization |
| 137 | +### Localization |
138 | 138 |
|
139 | 139 | You may want Faker to print information depending on your location in the world. |
140 | 140 | To assist you in this, Faker uses the `I18n` gem to store strings and formats to |
|
0 commit comments