Class: Faker::Games::Touhou
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.character ⇒ String
Produces the name of a character from the Touhou games.
-
.game ⇒ String
Produces the name of a Touhou game.
-
.location ⇒ String
Produces the name of a location from the Touhou games.
-
.song ⇒ String
Produces the name of a song from the Touhou games.
-
.spell_card ⇒ String
Produces the name of a spell card from the Touhou games.
Methods inherited from Base
bothify, disable_enforce_available_locales, fetch, fetch_all, flexible, generate, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, resolve, respond_to_missing?, sample, shuffle, translate, unique, with_locale
Class Method Details
.character ⇒ String
Produces the name of a character from the Touhou games.
30 31 32 |
# File 'lib/faker/games/touhou.rb', line 30 def character fetch('games.touhou.characters') end |
.game ⇒ String
Produces the name of a Touhou game.
17 18 19 |
# File 'lib/faker/games/touhou.rb', line 17 def game fetch('games.touhou.games') end |
.location ⇒ String
Produces the name of a location from the Touhou games.
43 44 45 |
# File 'lib/faker/games/touhou.rb', line 43 def location fetch('games.touhou.locations') end |
.song ⇒ String
Produces the name of a song from the Touhou games.
69 70 71 |
# File 'lib/faker/games/touhou.rb', line 69 def song fetch('games.touhou.songs') end |
.spell_card ⇒ String
Produces the name of a spell card from the Touhou games.
56 57 58 |
# File 'lib/faker/games/touhou.rb', line 56 def spell_card fetch('games.touhou.spell_cards') end |