lib/terraformer/circle.rb in terraformer-0.0.4 vs lib/terraformer/circle.rb in terraformer-0.0.6

- old
+ new

@@ -2,10 +2,10 @@ class Circle extend Forwardable attr_accessor :polygon attr_reader :center, :radius, :resolution - def_delegators :@polygon, :contains?, :within?, :intersects?, :to_feature, :to_json + def_delegators :@polygon, :contains?, :within?, :intersects?, :to_feature, :to_json, :to_hash def initialize c, r, res = DEFAULT_BUFFER_RESOLUTION self.center = c self.radius = r self.resolution = res