Class: Array

Inherits:
Object
  • Object
show all
Defined in:
lib/stream.rb

Overview

The extension on Array could be done for all Objects supporting [] and size.

Instance Method Summary collapse

Instance Method Details

#create_streamObject

Creates a new Stream::CollectionStream on self.



757
758
759
# File 'lib/stream.rb', line 757

def create_stream
  Stream::CollectionStream.new self
end