Method: RDoc::Context#add_to
- Defined in:
- lib/rdoc/code_object/context.rb
#add_to(array, thing) ⇒ Object
Adds thing
to the collection array
600 601 602 603 604 605 606 |
# File 'lib/rdoc/code_object/context.rb', line 600 def add_to array, thing array << thing if @document_self thing.parent = self thing.store = @store if @store thing.section = current_section end |