From: Brian Candler Date: 2008-12-03T18:03:09+09:00 Subject: [ruby-core:20255] Re: Proposal: deferred blocks On Wed, Dec 03, 2008 at 05:51:02PM +0900, Brian Candler wrote: > sub = MyProc.new "|y| x+y", binding Of course, you can make this look more like a block by use of appropriate quoting: sub = MyProc.new %q{ |y| x+y }, binding Or %{...} if you want to enable interpolation.