From: SASADA Koichi Date: 2012-02-25T14:34:32+09:00 Subject: [ruby-core:42898] Re: feature request: marshallable proc's What should happen on the following code? f = open(something) a = background_process a.send { f.puts 'hello' } (2012/01/06 8:54), Roger Pack wrote: > Every so often I wish I could do something like > a = background_process > a.send { > # compute something long > } > > Which would require the ability to "serialize" proc's. > So consider this my feature request. > First thing that comes to mind would be the ability to translate them > into an AST. > RubyVM::InstructionSequence.disassemble might be related. > Cheers! > -roger- > -- // SASADA Koichi at atdot dot net