Class: CLi64
- Includes:
- CLValueBytesParsers::CLI64BytesParser
- Defined in:
- lib/types/cl_i64.rb
Instance Method Summary collapse
- #get_cl_type ⇒ Object
- #get_value ⇒ Object
-
#initialize(value = nil) ⇒ CLi64
constructor
A new instance of CLi64.
Methods included from CLValueBytesParsers::CLI64BytesParser
Constructor Details
#initialize(value = nil) ⇒ CLi64
Returns a new instance of CLi64.
10 11 12 13 14 |
# File 'lib/types/cl_i64.rb', line 10 def initialize(value = nil) raise "error" unless value.instance_of? Integer super @value = value end |