lib/terraformer/multi_point.rb in terraformer-0.0.9 vs lib/terraformer/multi_point.rb in terraformer-0.1.0

- old
+ new

@@ -46,23 +46,23 @@ end end def add_point p p = p.coordinates if Point === p - raise ArugmentError unless Coordinate === p + raise ArgumentError unless Coordinate === p coordinates << p end alias_method :<<, :add_point def insert_point idx, p p = p.coordinates if Point === p - raise ArugmentError unless Coordinate === p + raise ArgumentError unless Coordinate === p coordinates.insert idx, p end def remove_point p p = p.coordinates if Point === p - raise ArugmentError unless Coordinate === p + raise ArgumentError unless Coordinate === p coordinates.delete p end def remove_point_at idx coordinates.delete_at idx