Class: Melos::Struct::ParentNodeHashInput

Inherits:
Base
  • Object
show all
Defined in:
lib/melos/struct/structs.rb

Constant Summary collapse

STRUCT =
[
  [:parent_node, :optional, Melos::Struct::ParentNode],
  [:left_hash, :vec],
  [:right_hash, :vec]
]

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#deserialize_select_elem_with_context, #initialize, #raw

Constructor Details

This class inherits a constructor from Melos::Struct::Base

Instance Attribute Details

#left_hashObject (readonly)

Returns the value of attribute left_hash.



225
226
227
# File 'lib/melos/struct/structs.rb', line 225

def left_hash
  @left_hash
end

#parent_nodeObject (readonly)

Returns the value of attribute parent_node.



225
226
227
# File 'lib/melos/struct/structs.rb', line 225

def parent_node
  @parent_node
end

#right_hashObject (readonly)

Returns the value of attribute right_hash.



225
226
227
# File 'lib/melos/struct/structs.rb', line 225

def right_hash
  @right_hash
end