class ChunkyPNG::Dimension
def eql?(other)
-
(true, false)
- true iff width and height match.
Parameters:
-
The
(ChunkyPNG::Dimension
) -- 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