Method: AX::Element#==
- Defined in:
- lib/ax/element.rb
#==(other) ⇒ Object Also known as: eql?, equal?
Overridden so that equality testing would work.
A hack, but the only sane way I can think of to test for equivalency.
515 516 517 |
# File 'lib/ax/element.rb', line 515 def == other @ref == other.instance_variable_get(:@ref) end |