From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS4713 221.184.0.0/13 X-Spam-Status: No, score=-3.8 required=3.0 tests=AWL,BAYES_00, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from neon.ruby-lang.org (neon.ruby-lang.org [221.186.184.75]) by dcvr.yhbt.net (Postfix) with ESMTP id 13724211B4 for ; Mon, 14 Jan 2019 09:48:52 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 7CBF3121E6D; Mon, 14 Jan 2019 18:48:48 +0900 (JST) Received: from o1678916x28.outbound-mail.sendgrid.net (o1678916x28.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id E772C121C3B for ; Mon, 14 Jan 2019 18:48:46 +0900 (JST) Received: by filter0055p3las1.sendgrid.net with SMTP id filter0055p3las1-2682-5C3C5AFD-1 2019-01-14 09:48:45.070473947 +0000 UTC m=+552132.942333328 Received: from herokuapp.com (ec2-54-197-82-100.compute-1.amazonaws.com [54.197.82.100]) by ismtpd0026p1iad2.sendgrid.net (SG) with ESMTP id 8QfQkRYUSsy3UWlvzFSTIA for ; Mon, 14 Jan 2019 09:48:44.909 +0000 (UTC) Date: Mon, 14 Jan 2019 09:48:45 +0000 (UTC) From: hsbt@ruby-lang.org To: ruby-core@ruby-lang.org Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 66523 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15498 X-Redmine-Issue-Author: palkan X-Redmine-Sender: hsbt X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-SG-EID: ync6xU2WACa70kv/Ymy4QrNMhiuLXJG8OTL2vJD1yS7zKbpPso85ecL7q2fRYWcF+yf/jOBT1cnHoA eofIIyjJ3oliT/dFSF+qW7ZE7pLBXiaBMC1OcyVi9Rb/F8hyQFDrsSzkDXIeSQ2ANR0VIsFMCB+Ou5 BTc0H6V8KGAqHoi7FkFZcMmAQH1d2nBgc/+VCC31RAdzTj9/Of7FABVqSg== X-ML-Name: ruby-core X-Mail-Count: 91074 Subject: [ruby-core:91074] [Ruby trunk Bug#15498] Update Refinements documentation X-BeenThere: ruby-core@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Ruby developers List-Id: Ruby developers List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ruby-core-bounces@ruby-lang.org Sender: "ruby-core" Issue #15498 has been updated by hsbt (Hiroshi SHIBATA). Backport set to 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED Status changed from Open to Closed Tracker changed from Misc to Bug Fixed at r66788 ---------------------------------------- Bug #15498: Update Refinements documentation https://bugs.ruby-lang.org/issues/15498#change-76305 * Author: palkan (Vladimir Dementyev) * Status: Closed * Priority: Normal * Assignee: * Target version: * ruby -v: * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: REQUIRED ---------------------------------------- [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/