class Faker::Games::Pokemon
Public Class Methods
location()
click to toggle source
Produces a location from Pokemon
.
@return [String]
@example
Faker::Games::Pokemon.location #=> "Pallet Town"
@faker.version 1.7.0
# File lib/faker/games/pokemon.rb, line 29 def location fetch('games.pokemon.locations') end
move()
click to toggle source
Produces a move from Pokemon
.
@return [String]
@example
Faker::Games::Pokemon.move #=> "Thunder Shock"
@faker.version 1.7.0
# File lib/faker/games/pokemon.rb, line 42 def move fetch('games.pokemon.moves') end
name()
click to toggle source
Produces the name of a Pokemon
.
@return [String]
@example
Faker::Games::Pokemon.name #=> "Pikachu"
@faker.version 1.7.0
# File lib/faker/games/pokemon.rb, line 16 def name fetch('games.pokemon.names') end