lib/geomotion/cg_point.rb in geomotion-0.12.3 vs lib/geomotion/cg_point.rb in geomotion-0.13.0
- old
+ new
@@ -1,5 +1,6 @@
class CGPoint
+
# CGPoint.make(x: 10, y: 30)
def self.make(options = {})
CGPoint.new(options[:x] || 0, options[:y] || 0)
end