Hi, At Thu, 22 Jan 2009 03:45:03 +0900, Patrik Wenger wrote in [ruby-core:21495]: > The return value of Kernel#catch is not the throw()n > value. It's always nil unless overridden by the the second > parameter of Kernel#throw. p catch(:x) {throw :x, 42} #=> 42 The second parameter is defaulted to nil. > Maybe it's a bug? I would like it to return the catched > value, but according to the documentation of Kernel#throw, it > should always return nil unless overridden. I can't understand what you mean. -- Nobu Nakada