From: Andrew Walrond Date: 2005-04-24T14:43:29+09:00 Subject: Re: Suggestion: Hash.remove On Sunday 24 April 2005 03:49, nobu.nokada@softhome.net wrote: > > >> > > >>That would definately be a good, backwardly compatible setp. > > > > > > What will be returned? > > > > An Array of the deleted values? > > It's not compatible obviously. Another method Hash#remove (and > Array#remove also?) sounds better, I guess. delete could return a value, or array of values, depending on whether the number of arguments is 1 or >1, which would be compatible. But #remove would be nicer :) Andrew Walrond