From: Sean O'Halpin Date: 2005-10-13T05:47:21+09:00 Subject: Re: Default argument values for blocks On 10/12/05, Ara.T.Howard wrote: > but > > method bool ? 42 : (0b101010) { "block" } > > is valid now. Hmmm... this is what I get. Have I missed something? def method(bool) bool end method true ? 42 : (0b101010) { "block" } method false ? 42 : (0b101010) { "block" } __END__ block-syntax.rb:5: syntax error method true ? 42 : (0b101010) { "block" } ^ (The "^" points at the space after the "{" ) Regards, Sean