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
Found in MRI test_syntax.rb: Example
def yieldme yield end yieldme { | methods = [['map', 'no'], ['inject([])', 'with']] | puts "METHODS `#{methods}`" }
Expected (ruby, jruby)
METHODS `[["map", "no"], ["inject([])", "with"]]`
Actual
METHODS `map`
The text was updated successfully, but these errors were encountered:
It's not blocks - it's any default argument that has an array literal on the RHS.
def foo(methods=[14]) p methods end foo
Sorry, something went wrong.
Fixed in 146856d
chrisseaton
No branches or pull requests
Found in MRI test_syntax.rb:
Example
Expected (ruby, jruby)
Actual
The text was updated successfully, but these errors were encountered: