Class: Faker::GameOfThrones

Inherits:
Base
  • Object
show all
Defined in:
lib/faker/game_of_thrones.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/game_of_thrones.rb', line 4

def character
  fetch('game_of_thrones.characters')
end

.cityObject


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

def city
  fetch('game_of_thrones.cities')
end

.dragonObject


20
21
22
# File 'lib/faker/game_of_thrones.rb', line 20

def dragon
  fetch('game_of_thrones.dragons')
end

.houseObject


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

def house
  fetch('game_of_thrones.houses')
end

.quoteObject


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

def quote
  fetch('game_of_thrones.quotes')
end