Class: CLAny
- Includes:
- CLValueBytesParsers::CLAnyBytesParser
- Defined in:
- lib/types/cl_any.rb
Instance Method Summary collapse
- #get_cl_type ⇒ Object
- #get_value ⇒ Object
-
#initialize(value = nil) ⇒ CLAny
constructor
A new instance of CLAny.
Methods included from CLValueBytesParsers::CLAnyBytesParser
Constructor Details
#initialize(value = nil) ⇒ CLAny
Returns a new instance of CLAny.
10 11 12 13 |
# File 'lib/types/cl_any.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_any.rb', line 15 def get_cl_type @cl_type = CLAnyType.new @cl_type.to_string end |
#get_value ⇒ Object
20 21 22 |
# File 'lib/types/cl_any.rb', line 20 def get_value @value end |