20112fc260
Module Stream defines an interface for external iterators. A stream can be seen as an iterator on a sequence of objects x1, ..., xn. The state of the stream is uniquely determined by the following methods: at_beginning?, at_end?, current, and peek. State changes are done with the following operations: set_to_begin, set_to_end, forward, and backward.
8 lines
310 B
Text
8 lines
310 B
Text
@comment $NetBSD: PLIST,v 1.1.1.1 2006/05/04 01:29:57 minskim Exp $
|
|
${RUBY_SITELIBDIR}/generator2stream.rb
|
|
${RUBY_SITELIBDIR}/stream.rb
|
|
${RUBY_DOCDIR}/stream/README
|
|
${RUBY_EXAMPLESDIR}/stream/examples.rb
|
|
${RUBY_EXAMPLESDIR}/stream/streamtester.rb
|
|
@dirrm ${RUBY_EXAMPLESDIR}/stream
|
|
@dirrm ${RUBY_DOCDIR}/stream
|