title: How do I write a complex multi-line if condition in Ruby?
body: <p>How do I write this multi-line, complex condition if statement in Ruby?</p>
  
  <pre><code>  if ( (aa != nil &amp;&amp; self.prop1 == aa.decrypt)   
        || (bb != nil &amp;&amp; self.prop2 == bb.decrypt)  
      ) &amp;&amp; (self.id.nil? || self.id != id) 
      return true
    end
  </code></pre>
  
  <p>I'm getting <code>Syntax error; unexpected tOROP</code>.</p>
  
  <p>In Java, I could write</p>
  
  <pre><code>if (
       ( (aa != null &amp;&amp; aa.prop1.equals(aa.decrypt()))
       || (bb != null &amp;&amp; bb.prop2.equals(bb.decrypt()))
       )
       &amp;&amp; (this.id != id)
     ) {
  
     return true;
  }
  </code></pre>