Class: Lab42::Stream::Delayed

Inherits:
Lab42::Stream show all
Defined in:
lib/lab42/stream/delayed.rb

Constant Summary

Constants inherited from Lab42::Stream

ConstraintError, Version

Instance Attribute Summary

Attributes inherited from Lab42::Stream

#promise

Instance Method Summary collapse

Methods inherited from Lab42::Stream

#__flatmap__, #__inject_while__, #append, #drop, #each, #empty?, #filter, #filter_by_proc, #flatmap, #make_cyclic, #map, #reduce_while, #to_stream, #transform_by_proc

Methods included from Enumerable

#to_stream

Instance Method Details

#headObject



4
# File 'lib/lab42/stream/delayed.rb', line 4

def head; tail.head end

#tailObject



5
# File 'lib/lab42/stream/delayed.rb', line 5

def tail; super.tail end