Sha256: ed5c9f84a8d0c075ddf06c26deb7a3cd432d0a8ab67c012838c15aaaf4bd021a

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 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([NotDumpable.new]) do |x|
  print 'not dumpable'
  x
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
parallel-0.4.6 spec/cases/no_dump_with_each.rb
parallel-0.4.5 spec/cases/no_dump_with_each.rb
parallel-0.4.4 spec/cases/no_dump_with_each.rb