Module: Enumerable

Included in:
Stream
Defined in:
lib/stream.rb

Instance Method Summary collapse

Instance Method Details

#create_streamObject

If not an array the enumerable is converted to an array and then to a stream using a Stream::CollectionStream.



594
595
596
# File 'lib/stream.rb', line 594

def create_stream
  to_a.create_stream
end