Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enhanced RDoc for String#succ #3590

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

Merged
merged 2 commits into from
Sep 25, 2020
Merged

Enhanced RDoc for String#succ #3590

merged 2 commits into from
Sep 25, 2020

Conversation

BurdetteLamar
Copy link
Member

No description provided.

@BurdetteLamar BurdetteLamar marked this pull request as draft September 25, 2020 18:55
@BurdetteLamar BurdetteLamar added the Documentation Improvements to documentation. label Sep 25, 2020
@BurdetteLamar
Copy link
Member Author

@jeremyevans, the penultimate collection of examples are not what I expected. Rollover seems not to pass through 255.chr as I'd expected.

Copy link
Contributor

@jeremyevans jeremyevans 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. I think we should adjust the call-seq to not mention the alias, but it's up to you.

string.c Outdated
* "ZZZ9999".succ #=> "AAAA0000"
* "***".succ #=> "**+"
* string.succ -> new_str
* string.next -> new_str
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should leave next off the call-seq, and only mention it near the end as an alias.

Copy link
Member Author

Choose a reason for hiding this comment

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

@jeremyevans, the penultimate collection of examples are not what I expected. Rollover seems not to pass through 255.chr as I'd expected. So the text needs to change. I'll draft something.

Copy link
Contributor

@jeremyevans jeremyevans 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, I like the replaced examples.

@BurdetteLamar BurdetteLamar marked this pull request as ready for review September 25, 2020 19:41
@BurdetteLamar BurdetteLamar merged commit 8b42474 into ruby:master Sep 25, 2020
ioquatix pushed a commit to ioquatix/ruby that referenced this pull request Sep 30, 2020
* Enhanced RDoc for String#succ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Improvements to documentation.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants