From: Stefan Kaes Date: 2005-11-22T16:47:47+09:00 Subject: Re: semenatics of if/unless/while statement modifiers URABE Shyouhei wrote: > > On 22 Nov 2005, at 15:57, Stefan Kaes wrote: > >> This doesn't solve the problem of accessing the hash twice and >> computing the hash of the lookup key twice. And it's even more text >> than before. > > > f(options.fetch(:x){raise}) rescue nil > > Don't know if it's elegant though > > > Neither elegant nor efficient. And don't ask me whether it's intuitive or understandable. -- stefan