Someone
public ruby v1 · immutabledef 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