Method: Geometry::Path#==

Defined in:
lib/geometry/path.rb

#==(other) ⇒ Object



55
56
57
58
59
60
61
# File 'lib/geometry/path.rb', line 55

def ==(other)
    if other.is_a?(Path)
  @elements == other.elements
    else
  super other
    end
end