Class: Faker::PhoneNumber

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/phone_number.rb

Class Method Summary collapse

Methods inherited from Base

bothify, fetch, letterify, numerify

Class Method Details

.phone_numberObject



4
5
6
# File 'lib/faker/phone_number.rb', line 4

def phone_number
  numerify(fetch('phone_number.formats'))
end