Class: OpenHAB::Core::AbstractUID
- Inherits:
-
Object
- Object
- OpenHAB::Core::AbstractUID
- Defined in:
- lib/openhab/core/uid.rb
Overview
Adds methods to core openHAB AbstractUID to make it more natural in Ruby
Instance Method Summary collapse
-
#==(other) ⇒ true, false
compares if equal to
other, including string conversion.
Instance Method Details
#==(other) ⇒ true, false
compares if equal to other, including string conversion
16 17 18 19 20 |
# File 'lib/openhab/core/uid.rb', line 16 def ==(other) return true if equals(other) to_s == other end |