From: gga Date: 2007-01-21T22:16:17+09:00 Subject: Re: Hash pairs at? Trans ha escrito: > Seesm like there should be a mehtod for this: No. > > Or is there some other simple way we're supposed to do this? > > T. [:a, :c].inject({}) { |s, x| s[x] = h[x]; s }