ruby-changes:54573
From: tenderlove <ko1@a...>
Date: Fri, 11 Jan 2019 02:28:20 +0900 (JST)
Subject: [ruby-changes:54573] tenderlove:r66788 (trunk): Update refinements docs
tenderlove 2019-01-11 02:28:13 +0900 (Fri, 11 Jan 2019) New Revision: 66788 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66788 Log: Update refinements docs Co-Authored-By: Vladimir Dementyev <dementiev.vm@g...> Modified files: trunk/doc/syntax/refinements.rdoc Index: doc/syntax/refinements.rdoc =================================================================== --- doc/syntax/refinements.rdoc (revision 66787) +++ doc/syntax/refinements.rdoc (revision 66788) @@ -247,11 +247,9 @@ Note that +super+ in a method of a refin https://github.com/ruby/ruby/blob/trunk/doc/syntax/refinements.rdoc#L247 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. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/