Vishwanath Nayak wrote:
> Hi,
>
> replace puts report.inspect with the following
>
> report.keys.sort.each do |key|
> puts "#{key} #{report[key]["nopn"]} #{report[key]["norm"]}"
> end
>
> NAYAK
>
> On Sat, Jan 10, 2009 at 3:26 PM, Ferdie Ferdie <
> [email protected]> wrote:
>
>> 1.day]).inject(0) { |total, p_table|
>> report[evalsum[:hname]]['norm'] += norm
>> Here are the Output of my code;
>> How can I do these Output Layout I need like belows;
>> JJJ 1 2
>> >
>>
>
>
> --
> - NAYAK
Hi Nayak,
Fantastic, it works! thank you for the immediate reply.
Cheer's
/Ferdie
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---