Hi there,

is there a way to include conditionals in something like:

   g.labels = Hash[*invoice.collect {|v| [v["Scandate"].to_s,
"1"]}.flatten]

In this example I don't want to include entries to the hash where
v["Scandate"] is an empty string.

Help is as always very much appreciated - thanks in advance,
Alain M. Lafon
-- 
Posted via http://www.ruby-forum.com/.