On Thu, Jan 23, 2003 at 07:23:14AM +0900, Daniel Carrera wrote:
> So,
> 
> Would it be correct to say that an iterator is a method that lets you 
> access items one at a time? (this includes both class and instance 
> methods).

That would be true for normal Ruby iterators, but not all iterators.
C++ iterators, for example, are objects rather than methods.  The object
can be used to iterate by writing "++it" to go to the next element or
"*it" to retrieve the current element.  There are a number of libraries
available for iterating similarly in Ruby.

Paul