From: "Jesús Gabriel y Galán" Date: 2010-09-27T01:50:15+09:00 Subject: Re: Need assistance with hash of arrays and injecting values On Sun, Sep 26, 2010 at 5:27 PM, Alpha Blue wrote: > Thanks Jesus, that works perfect and is much more simplified. > > 4.upto(@current_week) do |week| >  @weekly_report = VirtualReport.reportlistings(@h[week][0],@h[week][1]) >  p "#{@h[week][0]} and #{@h[week][1]}" > end You could also do: ... weekly_report = VirtualReport.reportlistings(*@h[week]) ... Jesus.