class Asciidoctor::Extensions::IncludeProcessor

Public: IncludeProcessors are used to process include::[] macros in the source document.

When Asciidoctor discovers an include::[] macro in the source document, it iterates through the IncludeProcessors and delegates the work of reading the content to the first processor that identifies itself as capable of handling that target.

IncludeProcessors must extend Asciidoctor::Extensions::IncludeProcessor.

Public Instance Methods

process(target, attributes) click to toggle source
# File lib/asciidoctor/extensions.rb, line 355
def process target, attributes
  output
end