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/