Class: CLMap
- Includes:
- CLValueBytesParsers::CLMapBytesParser
- Defined in:
- lib/types/cl_map.rb
Instance Method Summary collapse
- #get_cl_type ⇒ Object
- #get_value ⇒ Object
-
#initialize(value = nil) ⇒ CLMap
constructor
A new instance of CLMap.
Methods included from CLValueBytesParsers::CLMapBytesParser
Methods inherited from CLValue
Constructor Details
#initialize(value = nil) ⇒ CLMap
Returns a new instance of CLMap.
10 11 12 13 |
# File 'lib/types/cl_map.rb', line 10 def initialize(value = nil) super @value = value end |
Instance Method Details
#get_cl_type ⇒ Object
15 16 17 18 |
# File 'lib/types/cl_map.rb', line 15 def get_cl_type @cl_type = CLMapType.new @cl_type.to_string end |
#get_value ⇒ Object
20 21 22 |
# File 'lib/types/cl_map.rb', line 20 def get_value @value end |