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
Specifically:
o = Object.new class << o private def foo; 42; end def [](i); 42; end def foo=(a); 42; end def []=(i, a); 42; end end assert_raise(NoMethodError) { o.instance_eval {o.foo = 1} } assert_nothing_raised(NoMethodError) { assert_equal(1, o.instance_eval {self.foo = 1}) } assert_raise(NoMethodError) { o.instance_eval {o[0] = 1} }
The rest of the tests are fixed by #3573
The text was updated successfully, but these errors were encountered:
self
No branches or pull requests
Specifically:
The rest of the tests are fixed by #3573
The text was updated successfully, but these errors were encountered: