From: Sameera Gayan Date: 2008-07-04T14:03:09+09:00 Subject: creating dynamic hashmap Hi All, I have a question about creating a dynamic hash map. I'm using "gruff" and in that , the lables parameter should be like this (as in example) g.labels = { 0 => 'Mon', 2 => 'Wed', 4 => 'Fri', 6 => 'Sun' } in my case, above dates are dynamic and user will select the date range. So i need to create the hashmap dynamically. can i use a loop, or ..... how can i do this, any reply will greatly appriciated... thankx guys,, cheers sameera -- Posted via http://www.ruby-forum.com/.