Class: LibSL::LLU8
Instance Attribute Summary
Attributes inherited from LLNumber
Class Method Summary collapse
Instance Method Summary collapse
Methods inherited from LLNumber
Constructor Details
This class inherits a constructor from LibSL::LLNumber
Class Method Details
Instance Method Details
#encode ⇒ Object
157 158 159 160 |
# File 'lib/types.rb', line 157 def encode() raise ArgumentError, "Value out of range: #{@value}" if @value < 0 or @value > 0xff super('C') end |