class Twib::ResultError
An error originating from either twibd or a remote device.
Attributes
code[R]
@return [Integer] the bad result code that caused this error
Public Class Methods
new(code)
click to toggle source
Calls superclass method
# File lib/twib.rb, line 14 def initialize(code) super("0x#{code.to_i.to_s(16)}") @code = code.to_i end