From: naruse@... Date: 2019-01-15T09:00:22+00:00 Subject: [ruby-core:91099] [Ruby trunk Bug#15498] Update Refinements documentation Issue #15498 has been updated by naruse (Yui NARUSE). Backport changed from 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED to 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: DONE ruby_2_6 r66828 merged revision(s) 66788. ---------------------------------------- Bug #15498: Update Refinements documentation https://bugs.ruby-lang.org/issues/15498#change-76335 * Author: palkan (Vladimir Dementyev) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: DONE ---------------------------------------- [The current documentation](http://ruby-doc.org/core-2.6/doc/syntax/refinements_rdoc.html) still states: > 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. `#public_send`, `#respond_to?` support has been added in 2.6.0 (https://bugs.ruby-lang.org/issues/15327, https://bugs.ruby-lang.org/issues/15326), `#send` worked before (should we update the docs for 2.5.x then?). Github PR:https://github.com/ruby/ruby/pull/2063 Wiki page also contains an outdated information: https://bugs.ruby-lang.org/projects/ruby-trunk/wiki/RefinementsSpec#Refinements-Specification -- https://bugs.ruby-lang.org/ Unsubscribe: