From: Andrew Wagner Date: 2010-10-26T23:05:02+09:00 Subject: Re: embedded hash in array to selected-array --0016e6d7e13d23f48804938598b6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable users.map {|us| us[:name]} On Tue, Oct 26, 2010 at 9:55 AM, Kar=C3=A1csony K. wrote= : > Hi! > > I have this array: > users =3D [ { :id =3D> 1, :name =3D> 'Stephan'}, { :id =3D> 2, :name =3D> > 'Carol'}, { :id =3D> 3, :name =3D> 'Lizi'} ] > > How can i make a users_names, which will contain ['Stephan', 'Carol', > 'Lizi'] ? > Thanks:Koli > > -- > Posted via http://www.ruby-forum.com/. > > --0016e6d7e13d23f48804938598b6--