Class: CLTuple2

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) ⇒ CLTuple2

Returns a new instance of CLTuple2.



130
131
132
# File 'lib/types/cl_tuple.rb', line 130

def initialize(data)
  super(2, data)
end

Instance Method Details

#get_cl_typeObject



134
135
136
137
# File 'lib/types/cl_tuple.rb', line 134

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