On Sun, Apr 27, 2003 at 03:29:31AM +0900, Marcin Miel˝ˇki wrote:
> ahoward <ahoward / fsl.noaa.gov> wrote in news:Pine.LNX.4.53.0304261759300.2135 / eli.fsl.noaa.gov:
> 
> >   class String
> >     def expand(*args)
> >       % args
> >     end
> >   end
> 
> 
> it seems Ruby doesnt see it as 
> 
> self % args

Sure, but then % is an infix operator. You wouldn't expect "* 5" to behave
the same as "self * 5", would you?

As a guess - is it anything to do with the various string notations like
%x{...} for execute etc? i.e.

    %{args}

seems to give the same result.

Regards,

Brian.