From: Yusuke Endoh Date: 2010-06-28T03:59:34+09:00 Subject: [ruby-core:30928] [Bug #3406] attr_accessor creates a private writer method Issue #3406 has been updated by Yusuke Endoh. Target version changed from 1.9.2 to 1.9.x Hi, I really doubt whether or not this is a bug. Very clumsy semantics is required to "fix" this. At least, any change for this issue should not be included in 1.9.2. What we really need is a general way for users to define attr_accessor- like method, I guess. IOW, we need a way to get a visibility of current caller context and to define a method with the visibility. -- Yusuke Endoh ---------------------------------------- http://redmine.ruby-lang.org/issues/show/3406 ---------------------------------------- http://redmine.ruby-lang.org