diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-15 09:00:14 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-01-15 09:00:14 +0000 |
commit | 3dd206734981b74f14dc1fe61363c5e7313b92d9 (patch) | |
tree | e9f9a1ca4c7c065510861af581c74965c07011ef | |
parent | 402906e265bf5eeb94d6de5db2246ca15c4746a7 (diff) |
merge revision(s) 66788: [Backport #15498]
Update refinements docs
Co-Authored-By: Vladimir Dementyev <dementiev.vm@gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_6@66828 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | doc/syntax/refinements.rdoc | 6 | ||||
-rw-r--r-- | version.h | 2 |
2 files changed, 3 insertions, 5 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. @@ -1,6 +1,6 @@ #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 |