diff options
author | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-10 17:28:13 +0000 |
---|---|---|
committer | tenderlove <tenderlove@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-10 17:28:13 +0000 |
commit | d95b13ead18a22cf7328064f9a29c7de72bf8103 (patch) | |
tree | 71d300bd15300b7d134402a94af181df6ea35f62 /doc/syntax/refinements.rdoc | |
parent | dd67af4892d7e498357e0e5fbb58512a26367080 (diff) |
Update refinements docs
Co-Authored-By: Vladimir Dementyev <[email protected]>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'doc/syntax/refinements.rdoc')
-rw-r--r-- | doc/syntax/refinements.rdoc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/doc/syntax/refinements.rdoc b/doc/syntax/refinements.rdoc index e2d9cdc407..fc554bb476 100644 --- a/doc/syntax/refinements.rdoc +++ b/doc/syntax/refinements.rdoc @@ -247,11 +247,9 @@ 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. -== Indirect Method Calls +== Methods Introspection -When using indirect method access such as Kernel#send, Kernel#method or -Kernel#respond_to? refinements are not honored for the caller context during -method lookup. +When using introspection methods such as Kernel#method or Kernel#methods refinements are not honored. This behavior may be changed in the future. |