Sha256: f2c64b6f288b8dfe0354645d9dcd59a1c0b3f872565f34805e3f3feccd7173b7
Contents?: true
Size: 550 Bytes
Versions: 24
Compression:
Stored size: 550 Bytes
Contents
# encoding: utf-8 module Mongoid #:nodoc: module Extensions #:nodoc: module Hash #:nodoc: # Adds functionality for criteria scoping/merging. module Scoping # Get the hash scoped for criteria merges. # # @example Get the hash. # { :field => "value" }.scoped # # @param [ Array ] args The arguments (ignored). # # @return [ Hash ] The hash unmodified. # # @since 1.0.0 def scoped(*args) self end end end end end
Version data entries
24 entries across 24 versions & 2 rubygems