From: Pit Capitain Date: 2008-01-07T21:15:21+09:00 Subject: Re: compact or uniq that takes a block like sort? 2008/1/7, Bil Kleb : > I'm looking for an elegant way to do the following: > (...) Bil, this makes the test pass: class Array def consolidate Hash[*flatten].sort end end Regards, Pit