| In: |
iterator.rb
|
| Parent: | Object |
Base class which all iterators should derive from. It includes Ruby’s Enumerable module.
All iterators are able to move forward. However not all iterators are capable of moving backward. For instance Iterator::Continuation are forward-only.
create an iterator which moves the opposite direction.
remember to invoke close when you are done.