BSD Ports

devel/ruby-stream 0.5.6 NetBSD

Interface for external iterators

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
ruby-license
Categories
devel, ruby
Package size
34.7 KiB, 105.3 KiB installed

Description

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.

Install

Binary package:

pkgin install ruby33-stream

From pkgsrc:

cd /usr/pkgsrc/devel/ruby-stream && make install clean

Dependencies

Run dependencies 2
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
ruby34-stream-0.5.6, ruby40-stream-0.5.6