From: Joe Ruby Date: 2006-09-09T05:50:22+09:00 Subject: Combine @item.foo.nil? || @item.foo.empty? ? I have code like this in my (Markaby) templates: tr do td @item.foo end unless (@item.foo.nil? || @item.foo.empty?) Is there a way to combine these two OR clauses into one? tr do td @item.foo end unless @item.foo.nil_or_empty? Thanks, Joe -- Posted via http://www.ruby-forum.com/.