class EnumVariable
Represents a variable declared in an Enum
@example
Invalid = 0
Public Instance Methods
name()
click to toggle source
The name of the EnumVariable
# File lib/steamd/nodes/enum_variable_node.rb, line 8 def name enum_variable_name.text_value end
to_hash()
click to toggle source
Hash representation of the EnumVariable
# File lib/steamd/nodes/enum_variable_node.rb, line 18 def to_hash { name: name, value: value } end
value()
click to toggle source
The value of the EnumVariable
# File lib/steamd/nodes/enum_variable_node.rb, line 13 def value enum_variable_value.value end