class Asciidoctor::Extensions::IncludeProcessor
TODO add file extension or regexp as shortcut for handles? method
–
IncludeProcessor implementations must extend IncludeProcessor.
itself as capable of handling that target.
the work of reading the content to the first processor that identifies
source document, it iterates through the IncludeProcessors and delegates
When Asciidoctor comes across a ‘include::<target>[]` directive in the
directives in the source document.
Public: IncludeProcessors are used to process `include::<target>[]`
def handles? target
def handles? target true end
def process document, reader, target, attributes
def process document, reader, target, attributes raise ::NotImplementedError, %(#{IncludeProcessor} subclass #{self.class} must implement the ##{__method__} method) end