On Wed, Jun 04, 2003 at 06:50:39PM +0900, Mauricio FernŠŌdez 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