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.5.13 spec/cases/map_with_index.rb
parallel-0.5.12 spec/cases/map_with_index.rb
parallel-0.5.11 spec/cases/map_with_index.rb
parallel-0.5.10 spec/cases/map_with_index.rb
parallel-0.5.9 spec/cases/map_with_index.rb
parallel-0.5.8 spec/cases/map_with_index.rb
parallel-0.5.7 spec/cases/map_with_index.rb
parallel-0.5.6 spec/cases/map_with_index.rb
parallel-0.5.5 spec/cases/map_with_index.rb
parallel-0.5.4 spec/cases/map_with_index.rb
parallel-0.5.3 spec/cases/map_with_index.rb
parallel-0.5.2 spec/cases/map_with_index.rb
parallel-0.5.1 spec/cases/map_with_index.rb
parallel-0.5.0 spec/cases/map_with_index.rb
parallel-0.4.6 spec/cases/map_with_index.rb
parallel-0.4.5 spec/cases/map_with_index.rb
parallel-0.4.4 spec/cases/map_with_index.rb