class ChunkyPNG::Dimension
def eql?(other)
-
(true, false)- true iff width and height match.
Parameters:
-
other(ChunkyPNG::Dimension) -- The dimension to compare with.
def eql?(other) return false unless other.respond_to?(:width) && other.respond_to?(:height) other.width == width && other.height == height end