class Faker::TvShows::GameOfThrones
Public Class Methods
character()
click to toggle source
Produces a character from Game
of Thrones.
@return [String]
@example
Faker::TvShows::GameOfThrones.character #=> "Tyrion Lannister"
@faker.version 1.6.6
# File lib/faker/tv_shows/game_of_thrones.rb, line 18 def character fetch('game_of_thrones.characters') end
city()
click to toggle source
Produces a city from Game
of Thrones.
@return [String]
@example
Faker::TvShows::GameOfThrones.city #=> "Lannisport"
@faker.version 1.6.6
# File lib/faker/tv_shows/game_of_thrones.rb, line 44 def city fetch('game_of_thrones.cities') end
dragon()
click to toggle source
Produces a dragon from Game
of Thrones.
@return [String]
@example
Faker::TvShows::GameOfThrones.dragon #=> "Drogon"
@faker.version 1.6.6
# File lib/faker/tv_shows/game_of_thrones.rb, line 71 def dragon fetch('game_of_thrones.dragons') end
house()
click to toggle source
Produces a house from Game
of Thrones.
@return [String]
@example
Faker::TvShows::GameOfThrones.house #=> "Stark"
@faker.version 1.6.6
# File lib/faker/tv_shows/game_of_thrones.rb, line 31 def house fetch('game_of_thrones.houses') end
quote()
click to toggle source
Produces a quote from Game
of Thrones.
@return [String]
@example
Faker::TvShows::GameOfThrones.quote #=> "Never forget who you are. The rest of the world won't. Wear it like an armor and it can never be used against you."
@faker.version 1.6.6
# File lib/faker/tv_shows/game_of_thrones.rb, line 58 def quote fetch('game_of_thrones.quotes') end