From: gamelinks007@gmail.com
To: ruby-dev@ruby-lang.org
Subject: [ruby-dev:50952] [Ruby master Feature#17099] Remove boolean argument and warning from Module#attr
Date: Sat, 29 Aug 2020 13:38:03 +0000 (UTC) [thread overview]
Message-ID: <redmine.journal-87285.20200829133802.35524@ruby-lang.org> (raw)
In-Reply-To: <redmine.issue-17099.20200802165147.35524@ruby-lang.org>
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/
next prev parent reply other threads:[~2020-08-29 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-02 16:51 [ruby-dev:50944] [Ruby master Feature#17099] Remove Module#attr warning with given boolean argument gamelinks007
2020-08-29 13:38 ` gamelinks007 [this message]
2020-12-18 4:15 ` [ruby-dev:50979] [Ruby master Feature#17099] Remove boolean argument and warning from Module#attr nobu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-87285.20200829133802.35524@ruby-lang.org \
--to=gamelinks007@gmail.com \
--cc=ruby-dev@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).