What happened to dropping the optional true/false parameter from #attr
in 1.9? About a year or so ago, the method was changed to support
multiple symbols, and if you wanted a writer you just add one with an
‘=’ on the end, e.g.
attr :x, :x=
That was really nice b/c it is explicit. In general “true” parameters
are not very readable. It also made it a touch easier to override
#attr to add options like default values (attr :x, :default=>10).
But I was just playing around with the latest 1.9.2 release and #attr
is back to behaving just like 1.8.6 and older. Why the move back?