Hi,
In message "Re: A comparison by example of keyword argument styles"
on Tue, 25 Oct 2005 00:15:35 +0900, Eric Mahurin <eric_mahurin / yahoo.com> writes:
|> otherwise we
|> must change the code as
|>
|> def foo(*args, **keys)
|> bar(*args, **keys)
|> end
|>
|> everywhere, to just do delegation.
|
|or rather:
|
|def foo(*args, **keys, &block)
| bar(*args, **keys, &block)
|end
|
|What's wrong with having to do that?
It's longer than it is really needed. I want to delegate everything
I've passed, that's all. I'd rather delegate blocks as well when I
write bar(*args).
matz.