Skip to content

Commit

Permalink
Pokemon#moves (#954)
Browse files Browse the repository at this point in the history
  • Loading branch information
joel-g authored and stympy committed Jul 9, 2017
1 parent 861339f commit fa3be7c
Show file tree
Hide file tree
Showing 4 changed files with 159 additions and 147 deletions.
2 changes: 2 additions & 0 deletions doc/pokemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@
Faker::Pokemon.name #=> "Pikachu"

Faker::Pokemon.location #=> "Pallet Town"

Faker::Pokemon.move #=> "Thunder Shock"
```
6 changes: 5 additions & 1 deletion lib/faker/pokemon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ def name
def location
fetch('pokemon.locations')
end

def move
fetch('pokemon.moves')
end
end
end
end
end
Loading

0 comments on commit fa3be7c

Please sign in to comment.