[1.8.7] Implement Binding#eval method
-------------------------------------

                 Key: JRUBY-2604
                 URL: http://jira.codehaus.org/browse/JRUBY-2604
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.1.2
         Environment: Latest JRuby 1.1.2
            Reporter: Vladimir Sizikov


This is a new feature, added in MRI 1.8.7 and 1.9.

MRI 1.8.7, MRI 1.9:

ruby -ve 'x = 1; b = binding; p b.eval("x")' # ==> 1

JRuby 1.1.2:

jruby -ve 'x = 1; b = binding;  p b.eval("x")' #==>
private method `eval' called for #<Binding:0x1358f03> (NoMethodError)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to