Sha256: 7e13bafb4928c7857aa9f8f9dc3587c83f2806050c2325a78c1058fb529b0c6c

Contents?: true

Size: 134 Bytes

Versions: 37

Compression:

Stored size: 134 Bytes

Contents

require File.expand_path('spec/spec_helper')

result = Parallel.map_with_index(['a','b']) do |x, i|
  "#{x}#{i}"
end
print result * ''

Version data entries

37 entries across 37 versions & 1 rubygems

Version Path
parallel-0.8.3 spec/cases/map_with_index.rb
parallel-0.8.2 spec/cases/map_with_index.rb
parallel-0.8.1 spec/cases/map_with_index.rb
parallel-0.8.0 spec/cases/map_with_index.rb
parallel-0.7.1 spec/cases/map_with_index.rb
parallel-0.7.0 spec/cases/map_with_index.rb
parallel-0.6.5 spec/cases/map_with_index.rb
parallel-0.6.4 spec/cases/map_with_index.rb
parallel-0.6.3 spec/cases/map_with_index.rb
parallel-0.6.2 spec/cases/map_with_index.rb
parallel-0.6.1 spec/cases/map_with_index.rb
parallel-0.6.0 spec/cases/map_with_index.rb
parallel-0.5.21 spec/cases/map_with_index.rb
parallel-0.5.20 spec/cases/map_with_index.rb
parallel-0.5.19 spec/cases/map_with_index.rb
parallel-0.5.18 spec/cases/map_with_index.rb
parallel-0.5.17 spec/cases/map_with_index.rb
parallel-0.5.16 spec/cases/map_with_index.rb
parallel-0.5.15 spec/cases/map_with_index.rb
parallel-0.5.14 spec/cases/map_with_index.rb