Class: Faker::Dota

Inherits:
Object
  • Object
show all
Extended by:
Gem::Deprecate
Defined in:
lib/faker/deprecate/dota.rb

Class Method Summary collapse

Class Method Details

.heroObject



8
9
10
# File 'lib/faker/deprecate/dota.rb', line 8

def hero
  Faker::Games::Dota.hero
end

.itemObject



12
13
14
# File 'lib/faker/deprecate/dota.rb', line 12

def item
  Faker::Games::Dota.item
end

.playerObject



20
21
22
# File 'lib/faker/deprecate/dota.rb', line 20

def player
  Faker::Games::Dota.player
end

.quote(hero = 'abaddon') ⇒ Object



24
25
26
# File 'lib/faker/deprecate/dota.rb', line 24

def quote(hero = 'abaddon')
  Faker::Games::Dota.quote(hero: hero)
end

.teamObject



16
17
18
# File 'lib/faker/deprecate/dota.rb', line 16

def team
  Faker::Games::Dota.team
end