From: Ne Scripter Date: 2009-10-01T23:47:38+09:00 Subject: Re: Group by unique entries of a hash Ah map. Perfect. Josh Cheek wrote: > On Thu, Oct 1, 2009 at 8:15 AM, Ne Scripter > > wrote: > >> something fundamental I am missing? I want an array like so >> >> >> >> > David >> >> -- >> Posted via http://www.ruby-forum.com/. >> >> > x.map!{|str| str.split(/\s+/) }.flatten! > > x # => ["00000004", "00000005", "00000003", "00000006", "00000001", > "00000002"] -- Posted via http://www.ruby-forum.com/.