method

new

v2_5_5 - Show latest stable - Class: RDoc::Attr
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.