lib/geomotion/cg_point.rb in geomotion-0.13.2 vs lib/geomotion/cg_point.rb in geomotion-0.14.0

- old
+ new

@@ -96,6 +96,12 @@ def inspect "#{self.class.name}(#{self.x}, #{self.y})" end +private + # this method allows us to do parallel assignment of #x and #y + def to_ary + [self.x, self.y] + end + end