On Wed, Jun 04, 2003 at 12:36:13AM +0900, Kazuo Saito wrote:
> [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. 

What exactly does this mean?  Do both forms of '*' now use the same
method for conversion to array?  If so, which one?

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

So redefining Array#[] in irb would actually modify a subclass of Array
and not Array itself?  Or would irb use a subclass of Array?

Paul