You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Test
end
code = <<-eos
def blah?
true
end
eos
Test.instance_eval(code, "blah.rb", 30)
puts Test.blah?
Expected true
Actual
/Users/brandonfish/Documents/jruby-patches/ineval.rb:11:in `instance_eval': wrong number of arguments (3 for 0) (ArgumentError)
from /Users/brandonfish/Documents/jruby-patches/ineval.rb:11:in `<main>'
Used in bundler. I think the second and third arguments could be ignored for usage in error reporting for now if too difficult to implement.
The text was updated successfully, but these errors were encountered:
Example code
Expected
true
Actual
Used in bundler. I think the second and third arguments could be ignored for usage in error reporting for now if too difficult to implement.
The text was updated successfully, but these errors were encountered: