Adds functionality for criteria scoping/merging.
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
# File lib/mongoid/extensions/proc/scoping.rb, line 18 def scoped(*args) call(*args).scoped end
[Validate]
Generated with the Darkfish Rdoc Generator 2.