class Mongoid::Geospatial::Circle

Circle

Attributes

center[RW]
point[RW]
radius[RW]

Public Instance Methods

point() click to toggle source
# File lib/mongoid_geospatial/fields/circle.rb, line 8
def point
  Point.new(self[0])
end