Class | Mongoid::Criterion::Selector |
In: |
lib/mongoid/criterion/selector.rb
|
Parent: | Hash |
The selector is a hash-like object that has special behaviour for merging mongoid criteria selectors.
fields | [R] | |
klass | [R] |
Create the new selector.
@example Create the selector.
Selector.new(Person)
@param [ Class ] klass The class the selector is for.
@since 1.0.0
Generate pretty inspection for old ruby versions.
@example Inspect the selector.
selector.inspect
@return [ String ] The inspected selector.