From 7bc72469564b8f55b90aa9c0586854c14337aa75 Mon Sep 17 00:00:00 2001 From: Astra Date: Wed, 29 Oct 2025 05:17:11 +0330 Subject: [PATCH] [DOC] Update refinements.rdoc removes documentation for the activation order of `include` and `prepend` inside a refinement --- doc/syntax/refinements.rdoc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc index 17d5e67c21..4095977284 100644 --- a/doc/syntax/refinements.rdoc +++ b/doc/syntax/refinements.rdoc @@ -212,10 +212,7 @@ all refinements from the same module are active when a refined method When looking up a method for an instance of class +C+ Ruby checks: -* If refinements are active for +C+, in the reverse order they were activated: - * The prepended modules from the refinement for +C+ - * The refinement for +C+ - * The included modules from the refinement for +C+ +* The refinements of +C+, in reverse order of activation * The prepended modules of +C+ * +C+ * The included modules of +C+