Class: Faker::Games::Pokemon
Constant Summary
Constants inherited from Base
Base::LLetters, Base::Letters, Base::NOT_GIVEN, Base::Numbers, Base::ULetters
Class Method Summary collapse
-
.location ⇒ String
Produces a location from Pokemon.
-
.move ⇒ String
Produces a move from Pokemon.
-
.name ⇒ String
Produces the name of a Pokemon.
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
.location ⇒ String
Produces a location from Pokemon.
29 30 31 |
# File 'lib/faker/games/pokemon.rb', line 29 def location fetch('games.pokemon.locations') end |
.move ⇒ String
Produces a move from Pokemon.
42 43 44 |
# File 'lib/faker/games/pokemon.rb', line 42 def move fetch('games.pokemon.moves') end |
.name ⇒ String
Produces the name of a Pokemon.
16 17 18 |
# File 'lib/faker/games/pokemon.rb', line 16 def name fetch('games.pokemon.names') end |