From: atoz.cd@... Date: 2006-11-23T02:45:30+09:00 Subject: Re: Create array of hash values Personally I'd do: c_ids=[] for l in @attributes.values c_ids << l end David Lelong wrote: > Hi, > > I have a hash that contains the following keys/values: > > [#"4"}>, > #"8"}>] > > I want to create an array containing the contact_id values. What's an > easy way to do this? > > Thanks, > > David > > -- > Posted via http://www.ruby-forum.com/.