On Wed, Jun 04, 2003 at 12:36:13AM +0900, Kazuo Saito wrote:
>  Hi all,
> 
>  This is a summary of ruby-dev mailing list.
> 
> [ruby-dev:20268] splat restary
> 
>  In 1.8.0, both asterisk prefixed parameter in method arguments
>  and parallel assignment operator '*' would use to_ary and to_a
>  for conversion values to an array.  Nobu Nakada fixed the
>  implementation of the feature. 
> 
> 
> [ruby-dev:20287] Is it bug of IRB?
> 
>  As you know IRB is a nice interactive command tool to try
>  Ruby language and its features.  NISHI Takao tried to
>  redefine Array#[] in IRB but it stopped because the IRB
>  is implemented in Ruby itself and use the Array class in it.
>  Keiju and Matz followed that, in order to use Ruby's full features
>  in IRB, the implementation of IRB should be done in Array's
>  subclasses, and that of Ruby be clean to execute IRB properly.

Why not do

myArray = Array.clone.freeze.new

and then implement irb w/ myArray.
That way changes in Array don't affect the interpreter.

-- 
 _           _                             
| |__   __ _| |_ ___ _ __ ___   __ _ _ __  
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
	Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

* SynrG notes that the number of configuration questions to answer in sendmail
  is NON-TRIVIAL
	-- Seen on #Debian