Sha256: 8f7cf2305d21d603d7bd098a36a3081b3fce43d63a156b04bfe9b8273831d481

Contents?: true

Size: 204 Bytes

Versions: 5

Compression:

Stored size: 204 Bytes

Contents

require 'spec/spec_helper.rb'

class NotDumpable
  def marshal_dump
    raise "NOOOO"
  end

  def to_s
    'not dumpable'
  end
end

Parallel.each([NotDumpable.new]) do |x|
  print 'not dumpable'
  x
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
parallel-0.4.3 spec/cases/no_dump_with_each.rb
parallel-0.4.2 spec/cases/no_dump_with_each.rb
lowang-parallel-0.4.2 spec/cases/no_dump_with_each.rb
parallel-0.4.1 spec/cases/no_dump_with_each.rb
parallel-0.4.0 spec/cases/no_dump_with_each.rb