Sha256: 2d1d22737848aa5a6aff2ec73b5078f6082900ff12335c9a81c0b4ae1b21cc31

Contents?: true

Size: 377 Bytes

Versions: 38

Compression:

Stored size: 377 Bytes

Contents

# encoding: utf-8
module Mongoid

  # Contains behaviour specific to evolving for queryable queries.
  module Evolvable

    # Evolve the document into an object id.
    #
    # @example Evolve the document.
    #   document.__evolve_object_id__
    #
    # @return [ Object ] The document's id.
    #
    # @since 3.0.0
    def __evolve_object_id__
      id
    end
  end
end

Version data entries

38 entries across 36 versions & 2 rubygems

Version Path
mongoid-7.0.13 lib/mongoid/evolvable.rb
mongoid-7.0.12 lib/mongoid/evolvable.rb
mongoid-6.4.8 lib/mongoid/evolvable.rb
mongoid-7.0.11 lib/mongoid/evolvable.rb
mongoid-7.0.10 lib/mongoid/evolvable.rb
mongoid-6.4.7 lib/mongoid/evolvable.rb
mongoid-6.4.5 lib/mongoid/evolvable.rb
mongoid-7.0.8 lib/mongoid/evolvable.rb
mongoid-7.0.7 lib/mongoid/evolvable.rb
mongoid-7.0.6 lib/mongoid/evolvable.rb
mongoid-7.0.5 lib/mongoid/evolvable.rb
mongoid-7.0.4 lib/mongoid/evolvable.rb
mongoid-6.4.4 lib/mongoid/evolvable.rb
mongoid-7.0.3 lib/mongoid/evolvable.rb
mongoid-6.4.2 lib/mongoid/evolvable.rb
mongoid-7.0.2 lib/mongoid/evolvable.rb
mongoid-7.0.1 lib/mongoid/evolvable.rb
mongoid-6.4.1 lib/mongoid/evolvable.rb
tdiary-5.0.8 vendor/bundle/gems/mongoid-6.4.0/lib/mongoid/evolvable.rb
mongoid-7.0.0 lib/mongoid/evolvable.rb