From: Paul Brannan Date: 2003-06-05T01:51:15+09:00 Subject: Re: ruby-dev summary 20201 - 20315 On Wed, Jun 04, 2003 at 06:50:39PM +0900, Mauricio Fern�ndez wrote: > Why not do > > myArray = Array.clone.freeze.new > > and then implement irb w/ myArray. > That way changes in Array don't affect the interpreter. IMO, this is indicative of a more general problem than just IRB. If one module changes Array, code in another module might not be compatible with those changes. Ideally it should be possible to isolate changes to builtin classes to a single module. I'd wager that's even harder to implement than it sounds, though. Paul