General

Profile

shugo (Shugo Maeda)

  • Login: shugo
  • Registered on: 05/08/2008
  • Last sign in: 02/17/2026

Issues

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

Projects

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

Activity

01/13/2026

06:10 AM Ruby Feature #21788: Promote Thread::Monitor to a core class
I am neutral on whether to make `monitor` built-in partially or fully, but backward compatibility for code that calls `require 'monitor'` should be maintained.
Speaking of MonitorMixin, it's just a shorthand form inspired by Java's `s...
shugo (Shugo Maeda)

01/05/2026

02:49 AM Ruby Revision e6762d23 (git): [DOC] Fix a typo and trim trailing whitespace per .editorconfig
shugo (Shugo Maeda)

12/13/2025

04:52 AM Ruby Revision 71dd2725 (git): Remove useless rb_check_arity() calls
shugo (Shugo Maeda)

12/11/2025

09:00 AM Ruby Revision 240e7999 (git): [DOC] Update NEWS for `*selectors` arguments added to `String#strip` etc.
shugo (Shugo Maeda)
08:35 AM Ruby Feature #21552 (Closed): allow String.strip and similar to take a parameter similar to String.delete
Applied in changeset commit:git|c76ba839b153805f0498229284fea1a809308dbc.
----------
Allow String#strip etc. to take optional character selectors
[Feature #21552]
Co-Authored-By: Claude <noreply@anthropic.com>
shugo (Shugo Maeda)
08:34 AM Ruby Revision c76ba839 (git): Allow String#strip etc. to take optional character selectors
[Feature #21552]
Co-Authored-By: Claude <noreply@anthropic.com>
shugo (Shugo Maeda)

12/10/2025

06:28 AM Ruby Feature #21552: allow String.strip and similar to take a parameter similar to String.delete
tr_setup_table_multi() was called twice in String#{strip,strip!}, so I've fixed it: https://github.com/ruby/ruby/pull/15400/commits/c9cb93f201644cd5e2fbbd6e83cf50acb27642de
### Benchmark
https://gist.github.com/shugo/c6367f4139bc2d...
shugo (Shugo Maeda)

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)
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)

Also available in: Atom