[#50988] [Ruby master Bug#17494] ruby is hunged when using activesupport + rspec + rspec-parameterized — sue445fukuoka@...

Issue #17494 has been reported by sue445 (Go Sueyoshi).

11 messages 2020/12/31

[ruby-dev:50979] [Ruby master Feature#17099] Remove boolean argument and warning from Module#attr

From: nobu@...
Date: 2020-12-18 04:15:06 UTC
List: ruby-dev #50979
Issue #17099 has been updated by nobu (Nobuyoshi Nakada).


It has not been warned unless `$VERBOSE` yet.
We may need wait one more release if we obey the previous rule.
But deprecations aren't warned even if `$VERBOSE` since 2.7.2, I think we can reconsider that rule.

----------------------------------------
Feature #17099: Remove boolean argument and warning from Module#attr
https://bugs.ruby-lang.org/issues/17099#change-89286

* 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/

In This Thread

Prev Next