Sha256: 752e65c3b99efa1b0445bb2dd7d7ae0bea9537da60269155f1126077aeb6309f

Contents?: true

Size: 347 Bytes

Versions: 6

Compression:

Stored size: 347 Bytes

Contents

module MongoidOrderable #:nodoc:
  module Mongoid #:nodoc:
    module Contextual #:nodoc:
      module Memory #:nodoc:
        def inc(* args)
          each do |document|
            document.inc *args
          end
        end
      end
    end
  end
end

Mongoid::Contextual::Memory.send :include, MongoidOrderable::Mongoid::Contextual::Memory

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mongoid_orderable-5.2.0 lib/mongoid_orderable/mongoid/contextual/memory.rb
mongoid_orderable-5.1.0 lib/mongoid_orderable/mongoid/contextual/memory.rb
mongoid_orderable-5.0.0 lib/mongoid_orderable/mongoid/contextual/memory.rb
mongoid_orderable-4.1.1 lib/mongoid_orderable/mongoid/contextual/memory.rb
mongoid_orderable-4.1.0 lib/mongoid_orderable/mongoid/contextual/memory.rb
mongoid_orderable-4.0.0 lib/mongoid_orderable/mongoid/contextual/memory.rb