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.
Show source
def initialize(text, name, rw, comment, singleton = false)
super text, name
@rw = rw
@singleton = singleton
self.comment = comment
end