Method: Svgcode::SVG::Command#==

Defined in:
lib/svgcode/svg/command.rb

#==(other) ⇒ Object



91
92
93
94
95
96
# File 'lib/svgcode/svg/command.rb', line 91

def ==(other)
  other.is_a?(self.class) && 
    other.name == @name && 
    other.absolute? == @absolute && 
    other.points == @points
end