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
def foo(**args, &blk) puts blk.call puts args nil end
How would I write a contract for this function, so that all these cases are valid:
foo(a: 2) { } foo { }
The text was updated successfully, but these errors were encountered:
seems related to #244
Sorry, something went wrong.
Thank you for filing these tickets! I don't have time to fix these at the moment, but I'm happy to merge any PRs that you send over.
No branches or pull requests
How would I write a contract for this function, so that all these cases are valid:
The text was updated successfully, but these errors were encountered: