New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BasicObject's instance methods #3417
Comments
It's interesting. But,
It might be mruby-method's problem. |
matz
added a commit
that referenced
this issue
Feb 15, 2017
More compatibility to CRuby. Updated tests that assume old mruby behavior.
matz
added a commit
that referenced
this issue
Feb 15, 2017
matz
added a commit
that referenced
this issue
Feb 15, 2017
matz
added a commit
that referenced
this issue
Feb 15, 2017
matz
added a commit
that referenced
this issue
Feb 15, 2017
I made
|
ksss/mruby-method side solved at 8a15abd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ruby:
mruby:
Is there a reason for this difference? In particular,
#__send__
can be pretty useful.One workaround is to use
eval("obj.#{method_name}(*args, &block)")
, but it's obviously a poor solution.Another potential workaround:
crashes with:
(both Object and BasicObject)
The text was updated successfully, but these errors were encountered: