Method: RDoc::Parser::Ruby#create_attr
- Defined in:
- lib/rdoc/parser/ruby.rb
#create_attr(container, single, name, rw, comment) ⇒ Object
Creates a new attribute in container
with name
.
291 292 293 294 295 296 297 298 299 |
# File 'lib/rdoc/parser/ruby.rb', line 291 def create_attr container, single, name, rw, comment # :nodoc: att = RDoc::Attr.new get_tkread, name, rw, comment, single == SINGLE record_location att container.add_attribute att @stats.add_attribute att att end |