Skip to content

Commit 7bc7246

Browse files
authored
[DOC] Update refinements.rdoc
removes documentation for the activation order of `include` and `prepend` inside a refinement
1 parent e4219e2 commit 7bc7246

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

doc/syntax/refinements.rdoc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,10 +212,7 @@ all refinements from the same module are active when a refined method
212212

213213
When looking up a method for an instance of class +C+ Ruby checks:
214214

215-
* If refinements are active for +C+, in the reverse order they were activated:
216-
* The prepended modules from the refinement for +C+
217-
* The refinement for +C+
218-
* The included modules from the refinement for +C+
215+
* The refinements of +C+, in reverse order of activation
219216
* The prepended modules of +C+
220217
* +C+
221218
* The included modules of +C+

0 commit comments

Comments
 (0)