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.is_a?(self.class) &&
    other.pixels == pixels &&
    other.width == width &&
    other.height == height
end