Class: CLTuple2
Instance Attribute Summary
Attributes inherited from CLTuple
Instance Method Summary collapse
- #get_cl_type ⇒ Object
-
#initialize(data) ⇒ CLTuple2
constructor
A new instance of CLTuple2.
Methods inherited from CLTuple
#get, #get_full_type, #get_size, #get_tuple_name, #get_value, #push, #set
Methods included from CLValueBytesParsers::CLTupleBytesParser
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_type ⇒ Object
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 |