From: Mike Date: 2001-06-05T23:48:52+09:00 Subject: [ruby-talk:16235] Re: Block arguments vs method arguments On Sun, 3 Jun 2001 02:49:32 +0900 Albert Wagner wrote: > > > There're TWO closely related but different problems. > > > > (a) The semantics of block parameters are defined by multiple > > assignment. > > I don't know what this means. That yield calls a block multiple times? [...] > > > > Plus, |a| accepts any number of values, where |a,| takes only > > one value (this too is caused by multiple assignment semantics). > > I guess I don't understand this either. It means that |a, b, *c| will be interpreted as: a, b, *c = It is like a multiple assignment. So |a,| is the only way the express "one and only one argument", because |a| can receive an array. Mike. midulo.