Class: Faker::TvShows::GameOfThrones

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

.characterObject


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

def character
  fetch('game_of_thrones.characters')
end

.cityObject


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

def city
  fetch('game_of_thrones.cities')
end

.dragonObject


25
26
27
# File 'lib/faker/tv_shows/game_of_thrones.rb', line 25

def dragon
  fetch('game_of_thrones.dragons')
end

.houseObject


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

def house
  fetch('game_of_thrones.houses')
end

.quoteObject


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

def quote
  fetch('game_of_thrones.quotes')
end