master
module Mongoid module Geospatial # Circle # class Circle < GeometryField attr_accessor :center, :radius def center Point.new(*self[0]) end alias point center def radius self[1] end end end end