Or better yet, just drop the idea of default argument values for blocks
altogether. I still haven't seen what problem this is trying to solve.
Dan
···
-----Original Message-----
From: itsme213 [mailto:itsme213@hotmail.com]
Sent: Tuesday, October 11, 2005 3:42 PM
To: ruby-talk ML
Subject: Re: Default argument values for blocks"Yukihiro Matsumoto" <matz@ruby-lang.org> wrote in message
> For your information, you can do
>
> foo = ->(foo="bar"){puts foo}I hope you can find a better syntax ...