a4c655e202 (master): [DOC] Update refinement documentation

0 views
Skip to first unread message

Jeremy Evans

unread,
May 15, 2026, 8:14:33 PM (22 hours ago) May 15
to ruby...@g.ruby-lang.org
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
Reply all
Reply to author
Forward
0 new messages