lib/terraformer/coordinate.rb in terraformer-0.0.3 vs lib/terraformer/coordinate.rb in terraformer-0.0.4

- old
+ new

@@ -97,10 +97,10 @@ def to_s [x,y,z].compact.join ',' end def to_json *args - [x, y, z].map! {|e| e.to_f if e}.compact.to_json(*args) + compact.to_json(*args) end def to_point Point.new self end