Class: Deckstrings::HeroClass

Inherits:
Object
  • Object
show all
Includes:
Enum
Defined in:
lib/deckstrings/deckstrings.rb

Overview

Enumeration of all nine Hearthstone classes.

Class Method Summary collapse

Methods included from Enum

#symbol, #to_s, #value

Class Method Details

.druidHeroClass

Returns Druid class.

Returns:



36
# File 'lib/deckstrings/deckstrings.rb', line 36

define :druid, 'druid', 'Druid'

.hunterHeroClass

Returns Hunter class.

Returns:



40
# File 'lib/deckstrings/deckstrings.rb', line 40

define :hunter, 'hunter', 'Hunter'

.mageHeroClass

Returns Mage class.

Returns:



28
# File 'lib/deckstrings/deckstrings.rb', line 28

define :mage, 'mage', 'Mage'

.paladinHeroClass

Returns Paladin class.

Returns:



56
# File 'lib/deckstrings/deckstrings.rb', line 56

define :paladin, 'paladin', 'Paladin'

.priestHeroClass

Returns Priest class.

Returns:



48
# File 'lib/deckstrings/deckstrings.rb', line 48

define :priest, 'priest', 'Priest'

.rogueHeroClass

Returns Rogue class.

Returns:



32
# File 'lib/deckstrings/deckstrings.rb', line 32

define :rogue, 'rogue', 'Rogue'

.shamanHeroClass

Returns Shaman class.

Returns:



44
# File 'lib/deckstrings/deckstrings.rb', line 44

define :shaman, 'shaman', 'Shaman'

.warlockHeroClass

Returns Warlock class.

Returns:



60
# File 'lib/deckstrings/deckstrings.rb', line 60

define :warlock, 'warlock', 'Warlock'

.warriorHeroClass

Returns Warrior class.

Returns:



52
# File 'lib/deckstrings/deckstrings.rb', line 52

define :warrior, 'warrior', 'Warrior'