class ChunkyPNG::Canvas

def eql?(other)

Returns:
  • (true, false) - True if the size and pixel values of the other

Parameters:
  • other () -- The object to compare this Matrix to.
def eql?(other)
  other.kind_of?(self.class) && other.pixels == self.pixels &&
        other.width == self.width && other.height == self.height
end