In message "[ruby-talk:5664] Re: passing single or multiple strings."
on 00/10/18, Hugh Sasse Staff Elec Eng <hgs / dmu.ac.uk> writes:
>OK, but I am beginning to think there should be a method for this.
>It seems to me to be a useful thing to have. Is there a compelling
>reason not to have such a method?
To realize such mechanism, theoretically, an argument list should be
an object. For example, `[1,2,3]' is an object but bare `1,2,3' is
not a object. So, one couldn't define a method which returns `1,2,3'.
I think it is a reason.
By the way, ArgumentList introduces something like Python's `tuple'
and `apply' mechanism, parhaps. I don't know how many rubyist agree
to this.
-- gotoken