Class: CLTuple1

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

Returns a new instance of CLTuple1.



118
119
120
# File 'lib/types/cl_tuple.rb', line 118

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

Instance Method Details

#get_cl_typeObject



122
123
124
125
# File 'lib/types/cl_tuple.rb', line 122

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