if not var.nil? then 'foo' else 'bar' end