Is there an ideomatic or shorter way to "compare two values but don\'t allow them to be nil".
One way would be:
(!left.nil? || !right.nil?) &