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_in_range, regexify, translate, 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

.houseObject



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

def house
  fetch('game_of_thrones.houses')
end