class Faker::Games::Touhou
Public Class Methods
character()
click to toggle source
Produces the name of a character from the Touhou
games.
@return [String]
@example
Faker::Games::Touhou.character #=> "Sanae Kochiya"
@faker.version next
# File lib/faker/games/touhou.rb, line 30 def character fetch('games.touhou.characters') end
game()
click to toggle source
Produces the name of a Touhou
game.
@return [String]
@example
Faker::Games::Touhou.game #=> "Mountain of Faith"
@faker.version next
# File lib/faker/games/touhou.rb, line 17 def game fetch('games.touhou.games') end
location()
click to toggle source
Produces the name of a location from the Touhou
games.
@return [String]
@example
Faker::Games::Touhou.location #=> "Moriya Shrine"
@faker.version next
# File lib/faker/games/touhou.rb, line 43 def location fetch('games.touhou.locations') end
song()
click to toggle source
Produces the name of a song from the Touhou
games.
@return [String]
@example
Faker::Games::Touhou.song #=> "Faith Is for the Transient People"
@faker.version next
# File lib/faker/games/touhou.rb, line 69 def song fetch('games.touhou.songs') end
spell_card()
click to toggle source
Produces the name of a spell card from the Touhou
games.
@return [String]
@example
Faker::Games::Touhou.spell_card #=> 'Esoterica "Gray Thaumaturgy"'
@faker.version next
# File lib/faker/games/touhou.rb, line 56 def spell_card fetch('games.touhou.spell_cards') end