Class: Metanorma::Standoc::ResolveIncludePreprocessor
- Inherits:
-
Asciidoctor::Extensions::Preprocessor
- Object
- Asciidoctor::Extensions::Preprocessor
- Metanorma::Standoc::ResolveIncludePreprocessor
- Defined in:
- lib/metanorma/standoc/macros_embed.rb
Overview
resolve all includes before doing any further preprocessing
Instance Method Summary collapse
Instance Method Details
#process(doc, reader) ⇒ Object
30 31 32 33 |
# File 'lib/metanorma/standoc/macros_embed.rb', line 30 def process(doc, reader) r = ::Asciidoctor::PreprocessorNoIfdefsReader.new doc, reader.lines ::Asciidoctor::PreprocessorNoIfdefsReader.new doc, r.readlines end |