Class: Faker::Games::Zelda
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 Legend of Zelda games.
-
.game ⇒ String
Produces the name of a Legend of Zelda game.
-
.item ⇒ String
Produces the name of an item from the Legend of Zelda games.
-
.location ⇒ String
Produces the name of a character from the Legend of Zelda 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, shuffle!, translate, unique, with_locale
Class Method Details
.character ⇒ String
Produces the name of a character from the Legend of Zelda games.
30 31 32 |
# File 'lib/faker/games/zelda.rb', line 30 def character fetch('games.zelda.characters') end |
.game ⇒ String
Produces the name of a Legend of Zelda game.
17 18 19 |
# File 'lib/faker/games/zelda.rb', line 17 def game fetch('games.zelda.games') end |
.item ⇒ String
Produces the name of an item from the Legend of Zelda games.
56 57 58 |
# File 'lib/faker/games/zelda.rb', line 56 def item fetch('games.zelda.items') end |
.location ⇒ String
Produces the name of a character from the Legend of Zelda games.
43 44 45 |
# File 'lib/faker/games/zelda.rb', line 43 def location fetch('games.zelda.locations') end |