class XBeeRuby::ModemStatusResponse
Attributes
modem_status[R]
Public Class Methods
new(bytes)
click to toggle source
# File lib/xbee-ruby/modem_status_response.rb, line 21 def initialize bytes @modem_status = bytes[1] end
Public Instance Methods
==(other)
click to toggle source
# File lib/xbee-ruby/modem_status_response.rb, line 25 def == other other.class == ModemStatusResponse && self.modem_status == other.modem_status end
to_s()
click to toggle source
# File lib/xbee-ruby/modem_status_response.rb, line 29 def to_s "ModemStatusResponse[#{super}](modem_status=0x#{modem_status})" end