Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 558 Bytes

dota.md

File metadata and controls

22 lines (16 loc) · 558 Bytes

Faker::Games::Dota

Available since version 1.9.0.

# Random hero
Faker::Games::Dota.hero #=> "Abaddon"

# Random item
Faker::Games::Dota.item #=> "Armlet of Mordiggian"

# Random team
Faker::Games::Dota.team #=> "Evil Geniuses"

# Random player
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 #=> "You have called death upon yourself."
Faker::Games::Dota.quote(hero: 'alchemist') #=> "Better living through alchemy!"