Skip to content

Commit

Permalink
Fix examples in the Dota docs (faker-ruby#1722)
Browse files Browse the repository at this point in the history
The item seems to be a quote from Alchemist and the item was a quote from Abaddon.
  • Loading branch information
bzf authored and vbrazo committed Sep 3, 2019
1 parent 72d0544 commit 1d966b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/games/dota.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Available since version 1.9.0.
Faker::Games::Dota.hero #=> "Abaddon"

# Random item
Faker::Games::Dota.item #=> "You have called death upon yourself."
Faker::Games::Dota.item #=> "Armlet of Mordiggian"

# Random team
Faker::Games::Dota.team #=> "Evil Geniuses"
Expand All @@ -17,6 +17,6 @@ Faker::Games::Dota.player #=> "Dendi"

# Random quote
# by default if you don't pass the hero parameter, the quote method will set hero as 'abbadon'
Faker::Games::Dota.quote #=> "Easy now, this stuff is explosive!"
Faker::Games::Dota.quote #=> "You have called death upon yourself."
Faker::Games::Dota.quote(hero: 'alchemist') #=> "Better living through alchemy!"
```

0 comments on commit 1d966b8

Please sign in to comment.