finish ruby rectangle_class