Method: Autodoc::Documents#append

Defined in:
lib/autodoc/documents.rb

#append(context, example) ⇒ Object



9
10
11
12
# File 'lib/autodoc/documents.rb', line 9

def append(context, example)
  document = Autodoc::Document.new(context.clone, example.clone)
  @table[document.pathname] << document
end