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-Status: No, score=-2.8 required=3.0 tests=AWL,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_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY, URIBL_BLOCKED shortcircuit=no autolearn=no 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 960CD1F66E for ; Sat, 29 Aug 2020 13:38:17 +0000 (UTC) Received: from neon.ruby-lang.org (localhost [IPv6:::1]) by neon.ruby-lang.org (Postfix) with ESMTP id 62D6C120968; Sat, 29 Aug 2020 22:37:41 +0900 (JST) Received: from xtrwkhkc.outbound-mail.sendgrid.net (xtrwkhkc.outbound-mail.sendgrid.net [167.89.16.28]) by neon.ruby-lang.org (Postfix) with ESMTPS id 295AE120966 for ; Sat, 29 Aug 2020 22:37:38 +0900 (JST) Received: by filterdrecv-p3las1-75ccf54874-5fxx4 with SMTP id filterdrecv-p3las1-75ccf54874-5fxx4-18-5F4A5A3B-31 2020-08-29 13:38:03.70583973 +0000 UTC m=+157091.081055994 Received: from herokuapp.com (unknown) by geopod-ismtpd-5-2 (SG) with ESMTP id 8NV2zBQdTeGcdLiO7SlDMQ for ; Sat, 29 Aug 2020 13:38:03.396 +0000 (UTC) Date: Sat, 29 Aug 2020 13:38:03 +0000 (UTC) From: gamelinks007@gmail.com Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Redmine-MailingListIntegration-Message-Ids: 75605 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Feature X-Redmine-Issue-Id: 17099 X-Redmine-Issue-Author: S_H_ X-Redmine-Sender: S_H_ 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?hkhH+VYi3CHo0H3puLbdQ20XoWHmZIf5UShlDYZVe97LBMmAAmzGjG4iz1M8+y?= =?us-ascii?Q?yQAl0AUeW2ZBwKjLKywf3BkJFsqU6NkC6pqHm7e?= =?us-ascii?Q?6qvfDc7HFEu0c2YH1D1qI7K4wLcNrSB9wCiUIGn?= =?us-ascii?Q?fpRw5TLMntsCbOc+DhpHcMq5a2jtbRzu4BGSWUG?= =?us-ascii?Q?wQvbBqMumKZTXd+vp5SNWV8SuZtMwKu514zN6vE?= =?us-ascii?Q?0nkyXz5FIwmy=2FBn5w=3D?= To: ruby-dev@ruby-lang.org X-ML-Name: ruby-dev X-Mail-Count: 50952 Subject: [ruby-dev:50952] [Ruby master Feature#17099] Remove boolean argument and warning from Module#attr X-BeenThere: ruby-dev@ruby-lang.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: "Ruby developers \(Japanese\)" List-Id: "Ruby developers \(Japanese\)" List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: ruby-dev-bounces@ruby-lang.org Sender: "ruby-dev" Issue #17099 has been updated by S_H_ (Shun Hiraoka). Anyone has opinion? ---------------------------------------- Feature #17099: Remove boolean argument and warning from Module#attr https://bugs.ruby-lang.org/issues/17099#change-87285 * Author: S_H_ (Shun Hiraoka) * Status: Open * Priority: Normal ---------------------------------------- `Module#attr` works as `Module#attr_reader` by default (since in 1.9.1). Its optional boolean argument is obsoleted, but it works as `Module#attr_writer` when its value is `true`. I think it's okay to remove the optional boolean argument and the warning from `Module#attr`. pull request: https://github.com/ruby/ruby/pull/3386 -- https://bugs.ruby-lang.org/