Sha256: 190656f72063f6bdcc5afb6fa33cccab01d7c2dbe4bce7d61be406bc9099751d

Contents?: true

Size: 291 Bytes

Versions: 22

Compression:

Stored size: 291 Bytes

Contents

# encoding: utf-8
module Mongoid #:nodoc:
  module Criterion #:nodoc:
    module Inclusion
      def near(attributes = {})
        update_selector(attributes, "$near")
      end

      def near_sphere(attributes = {})
        update_selector(attributes, "$near")
      end
    end
  end
end

Version data entries

22 entries across 22 versions & 4 rubygems

Version Path
mongoid_spacial-0.2.17 lib/mongoid_spacial/criterion/inclusion.rb
sig_mongoid_spacial-0.2.17 lib/mongoid_spacial/criterion/inclusion.rb
cb_mongoid_spacial-0.2.16 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_geospatial-1.0.0 lib/mongoid_geospatial/criterion/inclusion.rb
mongoid_geospatial-1.0.0rc1 lib/mongoid_geospatial/criterion/inclusion.rb
mongoid_geospatial-1.0.0rc0 lib/mongoid_geospatial/criterion/inclusion.rb
mongoid_spacial-0.2.16 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.13 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.12 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.11 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.10 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.8 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.7 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.6 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.5 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.4 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.3 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.2 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.2.0 lib/mongoid_spacial/criterion/inclusion.rb
mongoid_spacial-0.1.1 lib/mongoid_spacial/criterion/inclusion.rb