Class: Faker::Hobbit

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/hobbit.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

.characterObject


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

def character
  fetch('hobbit.character')
end

.locationObject


16
17
18
# File 'lib/faker/hobbit.rb', line 16

def location
  fetch('hobbit.location')
end

.quoteObject


12
13
14
# File 'lib/faker/hobbit.rb', line 12

def quote
  fetch('hobbit.quote')
end

.thorins_companyObject


8
9
10
# File 'lib/faker/hobbit.rb', line 8

def thorins_company
  fetch('hobbit.thorins_company')
end