-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Allow different values than only -1, 0 and 1 to be returned by <=> #7277
Conversation
# | ||
# See also: `Object#<=>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed because Object#<=>
no longer exists.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd like to use the scheme returns -1, 0, 1 (or neg, zero, pos) depending on ...
everywhere in the documentation. If you want to change that...
But I'll approve either way.
Thank you @r00ster91 |
Closes #7276
This changes the spaceship's documentation to allow more values than only
-1
,0
and1
to be returned.