Module Mongoid::Extensions::Hash::Scoping
In: lib/mongoid/extensions/hash/scoping.rb

Adds functionality for criteria scoping/merging.

Methods

scoped  

Public Instance methods

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

[Validate]