General

Profile

shugo (Shugo Maeda)

  • Login: shugo
  • Registered on: 05/08/2008
  • Last sign in: 12/06/2025

Issues

open closed Total
Assigned issues 1 154 155
Reported issues 4 82 86

Projects

Project Roles Registered on
Ruby Committer, Infrastructure team 05/28/2008

Activity

12/05/2025

02:26 AM Ruby Feature #21552: allow String.strip and similar to take a parameter similar to String.delete
shugo (Shugo Maeda) wrote in #note-4:
> Unlike String#delete, the current implementation doesn't take multiple arguments.
> ...
I've noticed that String#count also take multiple selectors, so I've applied the same changes to String#str...
shugo (Shugo Maeda)

12/04/2025

06:30 AM Ruby Feature #21552: allow String.strip and similar to take a parameter similar to String.delete
Suggested by nobu, I've added documentation and tests for character selectors: https://github.com/ruby/ruby/pull/15400/commits/a9ad44007dbb0ea543ce1eb8748edd4213083c5f
Exmaples:
```
"012abc345".strip("0-9") # "abc"
"012abc345".st...
shugo (Shugo Maeda)
03:05 AM Ruby Feature #21552: allow String.strip and similar to take a parameter similar to String.delete
I just heard someone ask for a strip function that doesn't remove NUL characters.
Since Python's `str.strip` takes an optional argument, it might be a good idea to introduce a similar feature.
I've created a pull request at <https://...
shugo (Shugo Maeda)
06:24 AM Ruby Misc #21689: DevMeeting-2025-12-11
- [Feature #21552] allow String.strip and similar to take a parameter similar to String.delete
- pull request: https://github.com/ruby/ruby/pull/15400
- Is it acceptable to take character selectors like String#delete?
- [Python's...
shugo (Shugo Maeda)

11/26/2024

02:13 AM Ruby Revision 4e59ae6e (git): Add news about MatchData#bytebegin and MatchData#byteend
shugo (Shugo Maeda)

11/19/2024

05:33 AM Ruby Feature #20901 (Closed): What's status of Refinement#refined_class?
Applied in changeset commit:git|7ed027a8332e6f64b2a3253f3b48c0488f1184aa.
----------
Remove deprecated method Refinement#refined_class
[Feature #20901]
shugo (Shugo Maeda)
05:33 AM Ruby Revision 7ed027a8 (git): Remove deprecated method Refinement#refined_class
[Feature #20901] shugo (Shugo Maeda)
05:05 AM Ruby Feature #19366 (Closed): Rename/alias Refinedment#refined_class => #refined_module
After discussions in [Feature #19714], Refinement#target was added, so I close this issue.
shugo (Shugo Maeda)

07/17/2024

10:34 AM Ruby Misc #20600: @ruby-lang.org has been migrated to Cloudflare
hsbt (Hiroshi SHIBATA) wrote in #note-3:
> @shyouhei I re-send verification mail to you now.
Sorry, I've also resent a verification mail, so the previous vefication mail sent by Shibata-san may be invalidated.
shugo (Shugo Maeda)

07/16/2024

05:48 AM Ruby Feature #20576 (Closed): Add MatchData#bytebegin and MatchData#byteend
Applied in changeset commit:git|e048a073a3cba04576b8f6a1673c283e4e20cd90.
----------
Add MatchData#bytebegin and MatchData#byteend
These methods return the byte-based offset of the beginning or end of the specified match.
[Feature #20...
shugo (Shugo Maeda)

Also available in: Atom