new(text, name, rw, comment, singleton = false)
public
Creates a new Attr with body
text, name, read/write status rw and
comment. singleton marks this as a class
attribute.
# File lib/rdoc/attr.rb, line 25
def initialize(text, name, rw, comment, singleton = false)
super text, name
@rw = rw
@singleton = singleton
self.comment = comment
end