From: "trans. (T. Onoma)" Date: 2005-01-09T02:41:03+09:00 Subject: Re: List assignment syntax On Saturday 08 January 2005 11:46 am, Martin DeMello wrote: | Andrew Johnson wrote: | > a = %w|help this foo perhaps bar does| | > puts a.values_at(-1,1,3,0) | | Is there any reason this can't be changed to a.at(1,2,3,4)? It'd make | for a more consistent feel than specialcasing the one-argument case. | | martin Problem is with what gets returned. a=[1,2,5,7] a.at(1) => 2 a.values_at(1) => [2] T.