Jeremy Evans 2026-05-14 15:43:08 +0000 (Thu, 14 May 2026)
New Revision: a4c655e202
https://github.com/ruby/ruby/commit/a4c655e202
Log:
[DOC] Update refinement documentation
This removes the discussion of included modules in refinements,
since support for that was removed in Ruby 3.2.
This switches the method lookup description to be ancestor-based
instead of class-based, so it better reflects how the process
actually works.
Also discuss how super inside a refined module method is not allowed
if the method was called via super from a refinement method.
Modified files:
doc/syntax/refinements.rdoc