Class: Hekenga::MongoidIterator

Inherits:
BaseIterator show all
Defined in:
lib/hekenga/mongoid_iterator.rb

Constant Summary

Constants inherited from BaseIterator

BaseIterator::DEFAULT_TIMEOUT

Instance Attribute Summary

Attributes inherited from BaseIterator

#cursor_timeout

Instance Method Summary collapse

Methods inherited from BaseIterator

#initialize

Constructor Details

This class inherits a constructor from Hekenga::BaseIterator

Instance Method Details

#each(&block) ⇒ Object



4
5
6
# File 'lib/hekenga/mongoid_iterator.rb', line 4

def each(&block)
  iteration_scope.each(&block)
end