Project

General

Profile

Feature #17099

Updated by sawa (Tsuyoshi Sawada) over 3 years ago

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

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

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

Back