Sha256: 775eee9e41a6deb19876f08f62f95ff54b98741b0efda176c75d2c9489ce6be3
Contents?: true
Size: 434 Bytes
Versions: 4
Compression:
Stored size: 434 Bytes
Contents
module MongoidOrderable #:nodoc: module Mongoid #:nodoc: module Contexts #:nodoc: module Enumerable #:nodoc: def inc attributes = {} iterate do |doc| attributes.each do |attribute, value| doc.inc(attribute, value) end end end end end end end Mongoid::Contexts::Enumerable.send :include, MongoidOrderable::Mongoid::Contexts::Enumerable
Version data entries
4 entries across 4 versions & 1 rubygems