Sha256: 4398243ad145de5b097efd5442f2f7a616cd2d36ed33c1b0a082c90de96cdbce

Contents?: true

Size: 130 Bytes

Versions: 36

Compression:

Stored size: 130 Bytes

Contents

require File.expand_path('spec/spec_helper')

result = Parallel.map([1,2,[3]]) do |x|
  [x, x] if x != 1
end

print result.inspect

Version data entries

36 entries across 36 versions & 1 rubygems

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