Class: Faker::Dog
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale
Class Method Details
.age ⇒ Object
22
23
24
|
# File 'lib/faker/dog.rb', line 22
def age
fetch('dog.age')
end
|
.breed ⇒ Object
10
11
12
|
# File 'lib/faker/dog.rb', line 10
def breed
fetch('dog.breed')
end
|
.coat_length ⇒ Object
30
31
32
|
# File 'lib/faker/dog.rb', line 30
def coat_length
fetch('dog.coat_length')
end
|
.gender ⇒ Object
26
27
28
|
# File 'lib/faker/dog.rb', line 26
def gender
fetch('dog.gender')
end
|
.meme_phrase ⇒ Object
18
19
20
|
# File 'lib/faker/dog.rb', line 18
def meme_phrase
fetch('dog.meme_phrase')
end
|
.name ⇒ Object
6
7
8
|
# File 'lib/faker/dog.rb', line 6
def name
fetch('dog.name')
end
|
.size ⇒ Object
34
35
36
|
# File 'lib/faker/dog.rb', line 34
def size
fetch('dog.size')
end
|
.sound ⇒ Object
14
15
16
|
# File 'lib/faker/dog.rb', line 14
def sound
fetch('dog.sound')
end
|