class VariableWithValue

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

Public Instance Methods

to_hash() click to toggle source

Hash representation of the VariableWithValue

@return [Hash]

Calls superclass method Variable#to_hash
# File lib/steamd/nodes/variable_node.rb, line 102
def to_hash
  hsh = super
  hsh.merge!(value: var_value.value)
end