class VariableWithModifierWithValue

A variable with a modifier and a default value

Public Instance Methods

to_hash() click to toggle source

Hash representation of the VariableWithModifierWithValue

@return [Hash]

Calls superclass method VariableWithModifierNoValue#to_hash
# File lib/steamd/nodes/variable_node.rb, line 87
def to_hash
  hsh = super

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