We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When method_missing gets triggered it always gets a block, even when not passed.
class MissingError def method_missing(method, *args, &block) if block_given? puts "block_given?" end if block puts "block" end end end missing_error = MissingError.new missing_error.hello
Expected result would be nothing, but both assume a block gets passed.
The text was updated successfully, but these errors were encountered:
736be0e
No branches or pull requests
When method_missing gets triggered it always gets a block, even when not passed.
Expected result would be nothing, but both assume a block gets passed.
The text was updated successfully, but these errors were encountered: