summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorJeremy Evans <code@jeremyevans.net>2020-07-10 15:31:51 -0700
committerJeremy Evans <code@jeremyevans.net>2020-07-10 15:31:51 -0700
commit021cec938af55a7ef368eadc99a6e3ff2252510e (patch)
treeec754df602dc953d8dcf0cbad75a2ffff85f3919 /doc
parentc786954bf82f4d66fd407dc9c92bbc190a32a7b5 (diff)
Clarify behavior of super in method in module included in refinement [ci skip]
Fixes [Bug #16977]
Diffstat (limited to 'doc')
-rw-r--r--doc/syntax/refinements.rdoc3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc
index 44a63a2bae..c900ab1bdc 100644
--- a/doc/syntax/refinements.rdoc
+++ b/doc/syntax/refinements.rdoc
@@ -245,7 +245,8 @@ When +super+ is invoked method lookup checks:
Note that +super+ in a method of a refinement invokes the method in the
refined class even if there is another refinement which has been activated in
-the same context.
+the same context. This is only true for +super+ in a method of a refinement, it
+does not apply to +super+ in a method in a module that is included in a refinement.
== Methods Introspection