Class: VariableWithModifierWithValue

Inherits:
VariableWithModifierNoValue show all
Defined in:
lib/steamd/nodes/variable_node.rb

Overview

A variable with a modifier and a default value

Instance Method Summary collapse

Methods inherited from VariableWithModifier

#modifier_size, #sized?

Methods inherited from Variable

#name, #size, #type

Instance Method Details

#to_hashHash

Hash representation of the VariableWithModifierWithValue

Returns:

  • (Hash)


87
88
89
90
91
92
93
# File 'lib/steamd/nodes/variable_node.rb', line 87

def to_hash
  hsh = super

  hsh.merge!(
    value: var_value.value
  )
end