From: matz@... (Yukihiro Matsumoto) Date: 2000-07-04T02:43:14+09:00 Subject: [ruby-talk:03777] Re: Array.uniq! returning nil Hi. In message "[ruby-talk:03771] Re: Array.uniq! returning nil" on 00/07/03, Aleksi Niemel� writes: |That's good. *Waiting eagerly* :). But even then I guess | | uniqChars = text.split(//).uniq | |needs a copy if there're any characters to be removed from the array. And if |we can't rely on that fact there are always some chars to be removed, it |seems we can't use Array.uniq!. It's all ok, I can always write Hmm, how about this? uniqChars = text.split(//).instance_eval{uniq!; self} Although it's not handy at all. ;-< matz.