Module Mongoid::Extensions::Proc::Scoping
In: lib/mongoid/extensions/proc/scoping.rb

Adds functionality for criteria scoping/merging.

Methods

scoped  

Public Instance methods

Get the proc scoped for criteria merges.

@example Get the hash.

  proc.scoped

@param [ Array ] args The arguments to delegate to the proc.

@return [ Object ] The result of the proc call.

@since 1.0.0

[Validate]