Class: Faker::Creature::Dog

Inherits:
Base
  • Object
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

.ageObject


25
26
27
# File 'lib/faker/creature/dog.rb', line 25

def age
  fetch('creature.dog.age')
end

.breedObject


13
14
15
# File 'lib/faker/creature/dog.rb', line 13

def breed
  fetch('creature.dog.breed')
end

.coat_lengthObject


33
34
35
# File 'lib/faker/creature/dog.rb', line 33

def coat_length
  fetch('creature.dog.coat_length')
end

.genderObject


29
30
31
# File 'lib/faker/creature/dog.rb', line 29

def gender
  Faker::Gender.binary_type
end

.meme_phraseObject


21
22
23
# File 'lib/faker/creature/dog.rb', line 21

def meme_phrase
  fetch('creature.dog.meme_phrase')
end

.nameObject


9
10
11
# File 'lib/faker/creature/dog.rb', line 9

def name
  fetch('creature.dog.name')
end

.sizeObject


37
38
39
# File 'lib/faker/creature/dog.rb', line 37

def size
  fetch('creature.dog.size')
end

.soundObject


17
18
19
# File 'lib/faker/creature/dog.rb', line 17

def sound
  fetch('creature.dog.sound')
end