lib/perfect_shape/multi_point.rb in perfect-shape-1.0.6 vs lib/perfect_shape/multi_point.rb in perfect-shape-1.0.7
- old
+ new
@@ -53,9 +53,13 @@
]
end
@points
end
+ def first_point
+ points.first.to_a
+ end
+
def min_x
points.map(&:first).min
end
def min_y