module Lab42::Stream::ClassMethods
Public Instance Methods
iterate(arg, beh=nil, &blk)
click to toggle source
# File lib/lab42/stream/class_methods.rb, line 4 def iterate arg, beh=nil, &blk beh = Behavior.make( beh, &blk) __iterate__ arg, beh end
Private Instance Methods
__iterate__(arg, beh)
click to toggle source
# File lib/lab42/stream/class_methods.rb, line 10 def __iterate__ arg, beh cons_stream arg do __iterate__ beh.( arg ), beh end end