From: Sean Stephenson Date: 2009-09-02T07:54:42+09:00 Subject: Re: accessing hash values I単aki Baz Castillo wrote: > El Mi辿rcoles, 2 de Septiembre de 2009, Sean Stephenson escribi坦: >> "computer-03"=>"bob" >> 'wrong number of arguments'.) >> >> puts the_system["computer-01", "computer-02"] > > the_system.values_at("computer-01","computer-02") > > => ["jill", "jack"] > > > Note that it returns an Array. > > > Note: Tested in Ruby1.9 but not in 1.8. And thanks to you as well I単aki. -- Posted via http://www.ruby-forum.com/.