From: "Alain m. Lafon" Date: 2008-09-11T18:43:44+09:00 Subject: Advanced conditionals 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/.