Hi,

At Sat, 19 Aug 2006 03:56:56 +0900,
Eric Hodel wrote in [ruby-talk:209285]:
> > nobu / ruby-lang.org wrote:
> >>>    hsh = {:a => 1, :b => 2, :c => 3}
> >>>    hsh.delete :a, :b  #=> [1, 2]
> >>>    hsh.delete :c      #=> 3
> >> The class of returned value varies according to the number of
> >> arguments?
> >
> > Yes. I don't see that as a big problem though, especially if  
> > there's a second method that *always* returns an array:
> >
> >   hsh.delete_at :a      #=> [1]
> >   hsh.delete_at :b, :c  #=> [2, 3]
> >
> > It may be too much magic for some
> 
> Then it probably shouldn't go into Ruby.  Especially if you are  
> proposing two deletion methods that I have to figure out in order to  
> get the behavior I want.

Possiblly, we have to wait until "true multi-value" is
introduced.

-- 
Nobu Nakada