Method: Stree::Object#==

Defined in:
lib/stree/object.rb

#==(other) ⇒ Object

Compares the object with other object. Returns true if the key of the objects are the same, and both have the same buckets (see bucket equality)



19
20
21
# File 'lib/stree/object.rb', line 19

def ==(other)
  self.key == other.key and self.bucket == other.bucket
end