From: "Mauricio Fernández" Date: 2003-12-14T21:37:00+09:00 Subject: Re: inplace assignment On Sun, Dec 14, 2003 at 03:49:07PM +0900, Hal Fulton wrote: > OK, I thought that was what you meant. > > String also has a replace. But there's no general Object#replace. > > My impression is that this in impossible in general, and for > immediate values such as Fixnums, "even more impossible." > > The idea of doing this with a constant is scary to me. It's bad Don't you like open classes? ;-) > enough that a constant String or Array can be changed. And it's > even scarier to think of doing that with something like a > Fixnum. -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com /* * Please skip to the bottom of this file if you ate lunch recently * -- Alan */ -- from Linux kernel pre-2.1.91-1