Sha256: 33e1e2b0926eab1fd71a7f80ddcd5c8371ebadf8c152f4438c23ef8549c0bb6e

Contents?: true

Size: 293 Bytes

Versions: 34

Compression:

Stored size: 293 Bytes

Contents

require File.expand_path('spec/spec_helper')

class NotDumpable
  def marshal_dump
    raise "NOOOO"
  end

  def to_s
    'not dumpable'
  end
end

Parallel.each([1]) do
  print 'no dump for result'
  NotDumpable.new
end

Parallel.each([NotDumpable.new]) do
  print 'no dump for each'
  1
end

Version data entries

34 entries across 34 versions & 1 rubygems

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