HarryO wrote:
> I would really like to be able to dump a block of code via Marshal#dump,
> but I get an error saying "can't dump Proc".
> 
> I have a terrible feeling this means it's not possible to do so, but
> thought I'd ask, just in case it's actually possible and I'm just doing
> something wrong.
> 
> What, exactly, determines whether something can be dumped/loaded via the
> Marshal module?  Ie, what are its limitations?

You cannot dump

  Proc, Thread, IO (File, Socket ...), Continuation, Method


Regards,

  Michael

-- 
Michael Neumann
merlin.zwo InfoDesign GmbH
http://www.merlin-zwo.de