From: gwtmp01@... Date: 2006-09-25T11:21:06+09:00 Subject: Re: Riddle me this (a question about expressions) On Sep 24, 2006, at 4:50 PM, dblack@wobblini.net wrote: > On Mon, 25 Sep 2006, Hal Fulton wrote: > >> I wonder if there is some case where raise would/does return >> a meaningful value somehow? My gut reaction is 'no'... but >> this is Ruby... > > I am fairly certain that the return value can never be captured. At > least I can't figure out how to do it. Well, since it is a method... module Kernel def raise 'not what you expected' end end x = raise p x Maybe that is cheating, but as long as raise is a method there is the possibility that it might return a value. Gary Wright