class Ox::Node
Attributes
value[RW]
String value associated with the Node
.
Public Class Methods
Public Instance Methods
eql?(other)
click to toggle source
Returns true if this Object and other are of the same type and have the equivalent value otherwise false is returned.
-
other
[Object] Object to compare self to.
# File lib/ox/node.rb, line 17 def eql?(other) return false if (other.nil? or self.class != other.class) other.value == self.value end
Also aliased as: ==