All pastes #982740 Raw Edit

Someone

public ruby v1 · immutable
·published 2008-04-12 20:43 UTC
rendered paste body
def add(shape1, shape2)  if (type(shape1) = Square and      type(shape2) = Square)            make me a new square.    end    if (type(shape1) = Circle and      type(shape2) = Circle)            make a new circle.        endend