From: "Peña, Botp" Date: 2008-04-18T17:02:59+09:00 Subject: Re: Naming question From: Robert Dober [mailto:robert.dober@gmail.com] # module Enumerable # def partition_by &blk # result = Hash.new {|h,k| h[k] = [] } # each do | element | # result[ element ] << blk.call element # end # result # end # end i think this is #group_by in 1.8.7 and 1.9 ? kind regards -botp