Module: Deckstrings::Enum

Included in:
Format, HeroClass
Defined in:
lib/deckstrings/enum.rb

Instance Method Summary collapse

Instance Method Details

#symbolSymbol


38
39
40
# File 'lib/deckstrings/enum.rb', line 38

def symbol
  @symbol
end

#to_sString


33
34
35
# File 'lib/deckstrings/enum.rb', line 33

def to_s
  @display || @symbol.to_s
end

#valueInteger, ...


43
44
45
# File 'lib/deckstrings/enum.rb', line 43

def value
  @value
end