lib/geometer/point.rb in geometer-0.1.0 vs lib/geometer/point.rb in geometer-0.1.1

- old
+ new

@@ -11,6 +11,10 @@ def translate(other_point) dx,dy = *other_point Point.new(x+dx, y+dy) end end + + module PointHelpers + def coord(x,y); Point.new(x,y) end + end end