Project

General

Profile

Feature #17099

Updated by S_H_ (Shun Hiraoka) almost 4 years ago

`Module#attr` works as `Module#attr_reader` by default(since in `1.9.1`). 
 And, optional boolean argument is obsoleted(But, it works as `Module#attr_writer` given optional argument `true`). 

 I think it's okey to remove `Module#attr` warning (with given optional boolean argument). 

 pull requests: 
 https://github.com/ruby/ruby/pull/3386

Back