ruby-changes:54613
From: naruse <ko1@a...>
Date: Tue, 15 Jan 2019 18:00:20 +0900 (JST)
Subject: [ruby-changes:54613] naruse:r66828 (ruby_2_6): merge revision(s) 66788: [Backport #15498]
naruse 2019-01-15 18:00:14 +0900 (Tue, 15 Jan 2019) New Revision: 66828 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=66828 Log: merge revision(s) 66788: [Backport #15498] Update refinements docs Co-Authored-By: Vladimir Dementyev <dementiev.vm@g...> Modified directories: branches/ruby_2_6/ Modified files: branches/ruby_2_6/doc/syntax/refinements.rdoc branches/ruby_2_6/version.h Index: ruby_2_6/version.h =================================================================== --- ruby_2_6/version.h (revision 66827) +++ ruby_2_6/version.h (revision 66828) @@ -1,6 +1,6 @@ https://github.com/ruby/ruby/blob/trunk/ruby_2_6/version.h#L1 #define RUBY_VERSION "2.6.0" #define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR -#define RUBY_PATCHLEVEL 12 +#define RUBY_PATCHLEVEL 13 #define RUBY_RELEASE_YEAR 2019 #define RUBY_RELEASE_MONTH 1 Index: ruby_2_6/doc/syntax/refinements.rdoc =================================================================== --- ruby_2_6/doc/syntax/refinements.rdoc (revision 66827) +++ ruby_2_6/doc/syntax/refinements.rdoc (revision 66828) @@ -247,11 +247,9 @@ Note that +super+ in a method of a refin https://github.com/ruby/ruby/blob/trunk/ruby_2_6/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. Index: ruby_2_6 =================================================================== --- ruby_2_6 (revision 66827) +++ ruby_2_6 (revision 66828) Property changes on: ruby_2_6 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /trunk:r66788 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/