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