class Asciidoctor::Extensions::IncludeProcessor
Public: IncludeProcessors are used to process `include::<target>[]` directives in the source document.
When Asciidoctor comes across a `include::<target>[]` directive 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.
IncludeProcessor implementations must extend IncludeProcessor.
Constants
Public Instance Methods
handles?(target)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 241 def handles? target true end
process(document, reader, target, attributes)
click to toggle source
# File lib/asciidoctor/extensions.rb, line 237 def process document, reader, target, attributes raise ::NotImplementedError end