Class: XBee::Address
Instance Method Summary collapse
Instance Method Details
#<=>(other) ⇒ Object
8 9 10 |
# File 'lib/xbee/address.rb', line 8 def <=>(other) to_a <=> other.to_a end |
#==(other) ⇒ Object
13 14 15 |
# File 'lib/xbee/address.rb', line 13 def ==(other) to_a == other.to_a end |
#to_a ⇒ Object
18 19 20 |
# File 'lib/xbee/address.rb', line 18 def to_a @bytes end |