From 021cec938af55a7ef368eadc99a6e3ff2252510e Mon Sep 17 00:00:00 2001 From: Jeremy Evans Date: Fri, 10 Jul 2020 15:31:51 -0700 Subject: Clarify behavior of super in method in module included in refinement [ci skip] Fixes [Bug #16977] --- doc/syntax/refinements.rdoc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3