module Mongoid::Criteria::Queryable::Extensions::Symbol

def __expr_part__(value, negating = false)

Returns:
  • (Hash) - The selection.

Parameters:
  • negating (true | false) -- If the selection should be negated.
  • value (Object) -- The value of the criteria.

Other tags:
    Example: Get the symbol as a criteria. -
def __expr_part__(value, negating = false)
  ::String.__expr_part__(self, value, negating)
end