Skip to content

Conversation

@BurdetteLamar
Copy link
Member

@BurdetteLamar BurdetteLamar commented Jun 15, 2022

Small tweaks:

  • Adds return values.
  • Adds aliases.

Copy link
Member

@peterzhu2118 peterzhu2118 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should specify the return value for methods where the return value is insignificant (especially when the return value is nil or 0). These values come from the side-effect that Ruby returns the last value of the method and should be allowed to change freely in the future, so no users should depend on it.

Copy link
Member

@peterzhu2118 peterzhu2118 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@BurdetteLamar BurdetteLamar merged commit 13ab964 into ruby:master Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants