Skip to content

Allow String#strip etc. to take optional chars to be stripped#15400

Merged
shugo merged 5 commits intoruby:masterfrom
shugo:feature/allow-strip-to-take-chars
Dec 11, 2025
Merged

Allow String#strip etc. to take optional chars to be stripped#15400
shugo merged 5 commits intoruby:masterfrom
shugo:feature/allow-strip-to-take-chars

Conversation

@shugo
Copy link
Copy Markdown
Member

@shugo shugo commented Dec 4, 2025

@shugo shugo requested a review from nobu December 4, 2025 03:37
Copy link
Copy Markdown
Member

@nobu nobu left a comment

Choose a reason for hiding this comment

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

I think it's worth to describe/test chars argument is interpreted like the argument of tr.

@shugo
Copy link
Copy Markdown
Member Author

shugo commented Dec 4, 2025

I think it's worth to describe/test chars argument is interpreted like the argument of tr.

I've added documentation and tests in a9ad440.

@shugo shugo force-pushed the feature/allow-strip-to-take-chars branch 2 times, most recently from 79d0dbb to 38d8763 Compare December 5, 2025 02:17
@shugo shugo force-pushed the feature/allow-strip-to-take-chars branch from df98ac0 to 4414409 Compare December 11, 2025 07:53
@shugo shugo merged commit c76ba83 into ruby:master Dec 11, 2025
90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants