lib/mongoid/geospatial/wrappers/georuby.rb in mongoid-geospatial-4.0.1 vs lib/mongoid/geospatial/wrappers/georuby.rb in mongoid-geospatial-5.0.0
- old
+ new
@@ -1,7 +1,11 @@
require 'geo_ruby'
module Mongoid
+ #
+ # Wrappers for GeoRuby
+ # https://github.com/nofxx/georuby
+ #
module Geospatial
# Wrapper to GeoRuby's Point
Point.class_eval do
# delegate :distance, to: :to_geo