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