Class: Faker::Pokemon
- Inherits:
-
Base
- Object
- Base
- Faker::Pokemon
show all
- Defined in:
- lib/faker/pokemon.rb
Constant Summary
Constants inherited
from Base
Base::Letters, Base::Numbers, Base::ULetters
Class Method Summary
collapse
Methods inherited from Base
bothify, fetch, fetch_all, flexible, letterify, method_missing, numerify, parse, rand, rand_in_range, regexify, sample, shuffle, translate, unique, with_locale
Class Method Details
.location ⇒ Object
8
9
10
|
# File 'lib/faker/pokemon.rb', line 8
def location
fetch('pokemon.locations')
end
|
.move ⇒ Object
12
13
14
|
# File 'lib/faker/pokemon.rb', line 12
def move
fetch('pokemon.moves')
end
|
.name ⇒ Object
4
5
6
|
# File 'lib/faker/pokemon.rb', line 4
def name
fetch('pokemon.names')
end
|