lib/perfect_shape/point_location.rb in perfect-shape-1.0.6 vs lib/perfect_shape/point_location.rb in perfect-shape-1.0.7
- old
+ new
@@ -29,9 +29,13 @@
super()
self.x = x
self.y = y
end
+ def first_point
+ [x, y]
+ end
+
# Sets x, normalizing to BigDecimal
def x=(value)
@x = BigDecimal(value.to_s)
end