Method: Mongo::Cursor#_hint

Defined in:
lib/jmongo/cursor.rb

#_hint(hint = nil) ⇒ Object



159
160
161
162
# File 'lib/jmongo/cursor.rb', line 159

def _hint(hint = nil)
  return if hint.nil?
  @hint = to_dbobject(hint)
end