From: Michael Neumann Date: 2004-12-03T19:50:49+09:00 Subject: Re: * usage trans. (T. Onoma) wrote: > On Friday 03 December 2004 01:30 am, trans. (T. Onoma) wrote: > | I've come across this a few times now and don't understand why its a syntax > | error: > | > | @f << *(c.attributes.collect{ |k,v| "#{k}=#{v}" }) > | > | Where c.attributes is a hash. > > Sorry, that could be clearer since << doesn't take multiple arguments (too bad > for that!) Try simpler: how about @f.<<(*c.attributes......) Regards, Michael