On Thu, 5 Jun 2003, Paul Brannan wrote:

> 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.

i do this alot:

  module FooBar
    class Array < ::Array
    end
  end

which is a partial fix.

-a
--
  ====================================
  | Ara Howard
  | NOAA Forecast Systems Laboratory
  | Information and Technology Services
  | Data Systems Group
  | R/FST 325 Broadway
  | Boulder, CO 80305-3328
  | Email: ara.t.howard / noaa.gov
  | Phone:  303-497-7238
  | Fax:    303-497-7259
  | ~ > ruby -e 'p % ^) .intern'
  ====================================