A
Alain m. Lafon
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
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