Class: Faker::Creature::Dog
- Inherits:
-
Base
- Object
- Base
- Faker::Creature::Dog
show all
- Defined in:
- lib/faker/creature/dog.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.age ⇒ Object
25
26
27
|
# File 'lib/faker/creature/dog.rb', line 25
def age
fetch('creature.dog.age')
end
|
.breed ⇒ Object
13
14
15
|
# File 'lib/faker/creature/dog.rb', line 13
def breed
fetch('creature.dog.breed')
end
|
.coat_length ⇒ Object
33
34
35
|
# File 'lib/faker/creature/dog.rb', line 33
def coat_length
fetch('creature.dog.coat_length')
end
|
.meme_phrase ⇒ Object
21
22
23
|
# File 'lib/faker/creature/dog.rb', line 21
def meme_phrase
fetch('creature.dog.meme_phrase')
end
|
.name ⇒ Object
9
10
11
|
# File 'lib/faker/creature/dog.rb', line 9
def name
fetch('creature.dog.name')
end
|
.size ⇒ Object
37
38
39
|
# File 'lib/faker/creature/dog.rb', line 37
def size
fetch('creature.dog.size')
end
|
.sound ⇒ Object
17
18
19
|
# File 'lib/faker/creature/dog.rb', line 17
def sound
fetch('creature.dog.sound')
end
|