General

Profile

shugo (Shugo Maeda)

  • Login: shugo
  • Registered on: 05/08/2008
  • Last sign in: 07/18/2026

Issues

open closed Total
Assigned issues 1 158 159
Reported issues 2 90 92

Projects

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

Activity

07/16/2026

02:21 PM Ruby Bug #22190 (Closed): Class#subclasses does not include clones of classes that include modules
Merged: https://github.com/ruby/ruby/pull/17799/changes shugo (Shugo Maeda)

07/15/2026

09:30 AM Ruby Feature #22097 (Closed): Add Proc#with_refinements
I've merged the pull request: https://github.com/ruby/ruby/pull/17248 shugo (Shugo Maeda)

07/13/2026

10:44 PM Ruby Misc #22192 (Closed): Clarify the scope of default visibility changed inside a block
Eregon (Benoit Daloze) wrote in #note-3:
> TruffleRuby also behaves like CRuby here.
> ...
Thank you, I've found the following spec in spec/ruby/core/module/shared/set_visibility.rb:
```ruby
it "sets the visibility outside the closure...
shugo (Shugo Maeda)
09:55 AM Ruby Misc #22192: Clarify the scope of default visibility changed inside a block
ISO/IEC 30170 also specifies that the default visibility change survives the block (a block call pushes only local variable bindings; the default visibility stack is untouched). shugo (Shugo Maeda)
08:33 AM Ruby Misc #22192: Clarify the scope of default visibility changed inside a block
I checked the behavior of past versions with all-ruby:
```
$ docker run -it --rm rubylang/all-ruby ./all-ruby -e 'class C; [1].each { private; def foo; end }; def afterwards; end; end; p [C.private_instance_methods(false).sort, C.public...
shugo (Shugo Maeda)
08:00 AM Ruby Misc #22192 (Closed): Clarify the scope of default visibility changed inside a block
`private` etc. called with no arguments inside a block changes the default visibility of the enclosing lexical scope, and the change survives the block:
```ruby
class C
%i[foo bar].each do |name|
private
define_method(na...
shugo (Shugo Maeda)

07/12/2026

01:44 AM Ruby Feature #12086 (Rejected): using: option for instance_eval etc.
I'm closing this issue because [Feature #22097] has been accepted. shugo (Shugo Maeda)
01:43 AM Ruby Feature #16461 (Rejected): Proc#using
I'm closing this issue because [Feature #22097] has been accepted. shugo (Shugo Maeda)
01:38 AM Ruby Bug #22058 (Closed): {Method,InstanceMethod}#super_method doesn't work correctly for refined method with refinements for method active in the caller's scope
matz (Yukihiro Matsumoto) wrote in #note-15:
> Please update the documentation to describe this behavior.
The documentation has been updated by Jeremy: https://github.com/ruby/ruby/commit/815710fc27bd3c12d256e14883b37d2a3c906802
shugo (Shugo Maeda)

07/11/2026

11:53 AM Ruby Feature #22097 (Assigned): Add Proc#with_refinements
matz (Yukihiro Matsumoto) wrote in #note-19:
> I suggest `Proc#refined(mod, ...)`. It is short, and the past participle cannot be read as a command: `original.refined(StringExt)` can only mean "a refined version of the original", so the...
shugo (Shugo Maeda)

Also available in: Atom