Class: Lab42::Stream::Delayed

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

Constant Summary

Constants inherited from Lab42::Stream

ConstraintError, EmptyStream, IllegalState, Version

Instance Attribute Summary

Attributes inherited from Lab42::Stream

#promise

Instance Method Summary collapse

Methods inherited from Lab42::Stream

#__combine_streams__, #append, #combine_streams, #drop, #empty?, #to_stream

Methods included from ClassMethods

#iterate

Methods included from HigherOrder

#__combine__, #combine, #split_into

Methods included from Enumerable

#__filter__, #__flatmap__, #__flatmap_with_each__, #__inject__, #__inject_while__, #__lazy_take__, #__lazy_take_until__, #__lazy_take_while__, #__map__, #__scan__, #__zip__, #drop_until, #drop_while, #each, #each_without_loops, #filter, #flatmap, #flatmap_with_each, #force_all, #inject, #lazy_take, #lazy_take_until, #lazy_take_while, #make_cyclic, #map, #reduce, #reduce_while, #reject, #scan, #scan1, #take, #take_until, #take_while, #to_a, #zip, #zip_as_ary

Methods included from Utility

#__segment__, #segment, #with_index

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