From: Michael Neumann Date: 2005-01-25T06:05:11+09:00 Subject: Re: Convert a Hash into an Array Eustaquio Rangel de Oliveira Jr. wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi! > > If I have: > > h = {"a"=>"111","b"=>"222"} > h.to_a > => [["a", "111"], ["b", "222"]] > > is there a method to convert a Hash into a "plain" Array like h.to_a.flatten will do the trick. Regards, Michael