From: Brian Candler Date: 2009-01-30T19:19:51+09:00 Subject: Re: replacing callcc by catch/throw Tanaka Akira wrote: > The argument of catch is optional in Ruby 1.9. > > catch {|tag| > throw tag > } > > catch generates a unique tag if not given. ... and I see that even with an explicit tag, it doesn't have to be a symbol any more. $ ruby19 -e "catch(Object.new) { }" $ ruby -e "catch(Object.new) { }" -e:1:in `catch': # is not a symbol (TypeError) from -e:1 -- Posted via http://www.ruby-forum.com/.