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.1 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FORGED_GMAIL_RCVD,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,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 564D720248 for ; Fri, 1 Mar 2019 19:08:34 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 3C56411508D; Sat, 2 Mar 2019 04:08:30 +0900 (JST) Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by neon.ruby-lang.org (Postfix) with ESMTPS id 9A29711508C for ; Sat, 2 Mar 2019 04:08:27 +0900 (JST) Received: by filter0065p3mdw1.sendgrid.net with SMTP id filter0065p3mdw1-32163-5C798329-1D 2019-03-01 19:08:25.469804325 +0000 UTC m=+71496.033368245 Received: from herokuapp.com (unknown [54.196.21.121]) by ismtpd0046p1iad1.sendgrid.net (SG) with ESMTP id zHAdfIObQR6VgEZgg-sV7g for ; Fri, 01 Mar 2019 19:08:25.399 +0000 (UTC) Date: Fri, 01 Mar 2019 19:08:25 +0000 (UTC) From: kevin.deisz@gmail.com Message-ID: References: Mime-Version: 1.0 X-Redmine-MailingListIntegration-Message-Ids: 67102 X-Redmine-Project: ruby-trunk X-Redmine-Issue-Id: 15632 X-Redmine-Issue-Author: kddeisz X-Redmine-Sender: kddeisz 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: =?us-ascii?Q?M=2FIuJZEVslIZTp07Wc6NOb6yjLiZJz2A8X38J4ZK2p6oP6Wh+VE8z1fvihBVrM?= =?us-ascii?Q?Hs5q9fOmeZNADRTxARhXlEYoBSca19adzAmnmxV?= =?us-ascii?Q?8MoQPHsPwC5A1b6yiSMuisE25Clag0E2po5aWv5?= =?us-ascii?Q?bO3srKjROIyxV1w5EHk37nXTbqTmlmkwrB9fpxc?= =?us-ascii?Q?CYTnoFDWrz4rK9n3DGJC92LTDXWoEzN9Dyg=3D=3D?= To: ruby-core@ruby-lang.org X-ML-Name: ruby-core X-Mail-Count: 91652 Subject: [ruby-core:91652] [Ruby trunk Feature#15632] Dynamic method references 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 #15632 has been reported by kddeisz (Kevin Deisz). ---------------------------------------- Feature #15632: Dynamic method references https://bugs.ruby-lang.org/issues/15632 * Author: kddeisz (Kevin Deisz) * Status: Open * Priority: Normal * Assignee: * Target version: ---------------------------------------- In Ruby 2.7 we have the new .: method reference operator, which is so great! I was hoping to be able to use this operator dynamically (which you currently have to fall back to the `method` method). What I'm proposing is ``` ruby foo.:"bar_#{baz}" ``` which is basically the equivalent of dyna symbols. -- https://bugs.ruby-lang.org/