Class: CLTuple3

Inherits:
CLTuple show all
Defined in:
lib/types/cl_tuple.rb

Instance Attribute Summary

Attributes inherited from CLTuple

#data, #size

Instance Method Summary collapse

Methods inherited from CLTuple

#get, #get_full_type, #get_size, #get_tuple_name, #get_value, #push, #set

Methods included from CLValueBytesParsers::CLTupleBytesParser

#from_bytes, #to_bytes

Methods inherited from CLValue

#to_hash

Constructor Details

#initialize(data) ⇒ CLTuple3

Returns a new instance of CLTuple3.



142
143
144
145
# File 'lib/types/cl_tuple.rb', line 142

def initialize(data)
  super(3, data)
  # puts data
end

Instance Method Details

#get_cl_typeObject



147
148
149
150
# File 'lib/types/cl_tuple.rb', line 147

def get_cl_type
  @cl_tuple_type = CLTuple3Type.new
  @cl_tuple_type.to_string
end