From: Robert Klemme Date: 2005-06-13T17:55:30+09:00 Subject: Re: finding Hash subsets based on key value Martin DeMello wrote: > Robert Klemme wrote: >> >> IMHO we should have a general partitioning method (probably in >> Enumerable) that does partitioning into several buckets and not just >> two. Something like this maybe: >> >> module Enumerable >> def general_partition > > I like it, but not the name. partition_by, perhaps. Yes, this is *much* better! robert