From: Thomas Date: 2005-10-13T16:36:40+09:00 Subject: Re: Default argument values for blocks > Mostly because yacc does not allow it. It confuses > > lambda { |foo = bar| puts foo } > > as > > lambda { |foo = (bar| puts foo) } > > and causes syntax error. (Mostly) out of curiosity: Would this whatever_method {(x, foo=bar) puts x,foo} and also this whatever_method do(x, foo=bar) puts x,foo end be possible. Cheers, Thomas.