From: David Alan Black Date: 2001-02-01T11:19:47+09:00 Subject: [ruby-talk:10198] POLS question: returning from a closure Hello -- Something which did surprise me quite a bit: def rtest pr = Proc.new do return "Returning from closure" end pr.call return "Returning from rtest" end puts rtest # "Returning from closure" __END__ (Tested on ruby 1.6.2 (2001-01-18) [i586-linux].) Does that strike anyone else as unexpected? David -- David Alan Black home: dblack@candle.superlink.net work: blackdav@shu.edu Web: http://pirate.shu.edu/~blackdav