Method: Faker::PhoneNumber.area_code
- Defined in:
- lib/faker/default/phone_number.rb
.area_code ⇒ String
Produces a random area code.
107 108 109 |
# File 'lib/faker/default/phone_number.rb', line 107 def area_code fetch('phone_number.area_code') end |