class VariableWithModifierNoValue

A variable with a modifier but no value ie: proto header hi;

Public Instance Methods

to_hash() click to toggle source

Hash representation of the VariableWithModifierNoValue

@return [Hash]

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

  hsh.merge!(
    modifier: var_modifier.word.text_value,
    modifier_size: modifier_size
  )
end