From: nobu.nokada@... Date: 2003-12-14T15:43:15+09:00 Subject: Re: inplace assignment Hi, At Sun, 14 Dec 2003 15:14:44 +0900, T. Onoma wrote: > In other words I want to change what q "contains" rather then alter its > reference. With an array for example you can do that with #replace. In > particular I'm interesed in doing this with constants. Array#replace isn't concerned with constants. A = [1] A.replace([2]) p A[0] # => 2 -- Nobu Nakada