title: Ruby include? in an if-statement
body: <p>Why does this result in a syntax error "syntax error, unexpected keyword_end, expecting $end"?:</p>
  
  <pre><code>if "test".include?"te" || "test".include?"fail"
    puts "true"
  end
  </code></pre>
  
  <p>The following works:</p>
  
  <pre><code>fail = "test".include?"fail"
  
  if "test".include?"te" || fail
    puts "true"
  end
  </code></pre>