rdoc/rdoc — Issue #94: Not honoring different API availability for attr_reader and attr_writer
Author: dvyjones
Created: 2012-01-13 19:13:18+00:00
State: open

Hello,

I have a class which has separate API availabilities for the attr_reader and attr_writer, like this:

```ruby
class MyClass
# Public: Returns some String attribute
attr_reader :some_attribute

# Internal: Sets some String attribute
attr_writer :some_attribute
end
```

The generated documentation lists only a readwrite attribute in the public section, instead of a readonly attribute in the public section and a writeonly (or readwrite) attribute in the internal section. I'm using TomDoc for documentation.

```
% rdoc --version
rdoc 3.12
% ruby --version
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
```