Class: Reru::EnumerableStream
- Defined in:
- lib/reru/enumerable_stream.rb
Instance Method Summary collapse
-
#initialize(enumerable) ⇒ EnumerableStream
constructor
A new instance of EnumerableStream.
- #run ⇒ Object
Methods inherited from Stream
#consume, #dispatch, #emit, #log, #map, #merge, #select, #to_es
Constructor Details
#initialize(enumerable) ⇒ EnumerableStream
Returns a new instance of EnumerableStream.
6 7 8 |
# File 'lib/reru/enumerable_stream.rb', line 6 def initialize(enumerable) @enumerable = enumerable end |