class ChunkyPNG::Dimension

def <=>(other)

Returns:
  • (-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