From: Chris Carter Date: 2007-01-21T10:15:14+09:00 Subject: Re: Hash pairs at? On 1/20/07, Trans wrote: > Seesm like there should be a mehtod for this: > > h = { :a=>1, :b=>2, :c=>3 } > > h.what_method(:a, :c) #=> { :a=>1, :c=>3 } > ^^^^^^^^^^^ > > Or is there some other simple way we're supposed to do this? > > T. > > > http://concentrationstudios.com/2006/12/20/12-days-of-stupid-ruby-tricks Check out Day 11 -- Chris Carter concentrationstudios.com brynmawrcs.com