Class: Faker::Dog

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

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

.ageObject


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

def age
  fetch('dog.age')
end

.breedObject


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

def breed
  fetch('dog.breed')
end

.coat_lengthObject


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

def coat_length
  fetch('dog.coat_length')
end

.genderObject


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

def gender
  fetch('dog.gender')
end

.meme_phraseObject


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

def meme_phrase
  fetch('dog.meme_phrase')
end

.nameObject


6
7
8
# File 'lib/faker/dog.rb', line 6

def name
  fetch('dog.name')
end

.sizeObject


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

def size
  fetch('dog.size')
end

.soundObject


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

def sound
  fetch('dog.sound')
end