New issue
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
Fix docs for Array#sort and Array#sort! [ci skip] #1628
Conversation
Can you make Previously |
36051d8
to
27736a7
Compare
@drbrain Sorry, it should all match now. Thanks for catching it. |
Using (Personally, I don't think the example necessarily has to match the call-seq and text---in Ruby the block variables can be named arbitrarily of course---but it wouldn't hurt if they do.) |
@repinel If you want to provide an updated commit I'll apply it. |
For better understanding, the example should use `a` and `b` (not `x` and `y`) to match the documentation above.
27736a7
to
1897d6c
Compare
@stomar What do you think of change? |
Thanks for the update; the variables where switched, though, but I fixed it in the commit. |
Thanks |
[ci skip][Fix GH-1628] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@59338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
For better understanding, the block documentation should use
x
andy
(not
a
andb
) to match the example given bellow.