# File lib/rdoc/context.rb, line 512 def add_to(array, thing) array << thing if @document_self thing.parent = self thing.section = current_section end