title: Ruby Koans: test_sometimes_missing_parentheses_are_ambiguous
body: <p>I am completing Neo's Ruby Koans (<a href="http://rubykoans.com/" rel="nofollow noreferrer">http://rubykoans.com/</a>). In about_methods.rb, the koan instructs to correct the following, currently broken, eval: </p>
  
  <pre><code># (NOTE: We are Using eval below because the example code is
    # considered to be syntactically invalid).
    def test_sometimes_missing_parentheses_are_ambiguous
      eval "assert_equal (5), my_global_method (2, 3)" # ENABLE CHECK
      #
      # Ruby doesn't know if you mean:
      #
      #   assert_equal(5, my_global_method(2), 3)
      # or
      #   assert_equal(5, my_global_method(2, 3))
      #
      # Rewrite the eval string to continue.
      #
   end
  </code></pre>
  
  <p>my_global_method is</p>
  
  <pre><code>def my_global_method(a,b)
    a + b
  end
  </code></pre>
  
  <p>How do I need to alter the eval to pass this test?</p>
  
  <p>Edit: <a href="https://stackoverflow.com/questions/12102506/rubykoans-broken-koan">RubyKoans: broken koan?</a> asked whether this code was broken or not, and while it indicates that the question is working as intended, no answer to the koan is supplied.</p>
  
  <p>The error is as follows:</p>
  
  <pre><code>(eval):1: syntax error, unexpected tINTEGER, expecting keyword_do or '{' or '('    (SyntaxError)
  assert_equal 5, my_global_method 2, 3
  </code></pre>