Class: VariableWithValue

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

Overview

Variable, no modifier with a value ie: int x = 1;

Instance Method Summary collapse

Methods inherited from Variable

#name, #size, #type

Instance Method Details

#to_hashHash

Hash representation of the VariableWithValue

Returns:

  • (Hash)


102
103
104
105
# File 'lib/steamd/nodes/variable_node.rb', line 102

def to_hash
  hsh = super
  hsh.merge!(value: var_value.value)
end