We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
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
This works on MRI, but not sure why
define_method :bar do end
Where does it get define_method from? Works on MRI 2.2, Rbx 2.1.4, but not on JRuby 1.7 or master.
define_method
The text was updated successfully, but these errors were encountered:
It isn't Module#define_method, it's directly defined on top self/main object (for some reason).
Module#define_method
https://github.com/ruby/ruby/blob/6b6ba319ea4a5afe445bad918a214b7d5691fd7c/proc.c#L2779-L2780 https://bugs.ruby-lang.org/issues/6609
Sorry, something went wrong.
@cremno Good find, thank you!
400b5d6
No branches or pull requests
This works on MRI, but not sure why
Where does it get
define_method
from? Works on MRI 2.2, Rbx 2.1.4, but not on JRuby 1.7 or master.The text was updated successfully, but these errors were encountered: