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.


574
575
576
# File 'lib/stream.rb', line 574

def create_stream
  Stream::CollectionStream.new self
end