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