class ChunkyPNG::Dimension
def <=>(other)
-
(-1, 0, 1)- -1 if the other dimension has a larger area, 1 of this
Parameters:
-
other(ChunkyPNG::Dimension) -- The dimension to compare with.
def <=>(other) other.area <=> area end
(-1, 0, 1)
- -1 if the other dimension has a larger area, 1 of this
other
(ChunkyPNG::Dimension)
-- The dimension to compare with.
def <=>(other) other.area <=> area end