# File Ouroboros.rb, line 174 def collect out = [] @size.times{ |i| list_item = @all[ (@current_index+i) % @size ] out << yield( list_item ) } out end