Class: Metanorma::Plugin::Datastruct::Yaml2TextPreprocessor
- Inherits:
-
BaseStructuredTextPreprocessor
- Object
- Asciidoctor::Extensions::Preprocessor
- BaseStructuredTextPreprocessor
- Metanorma::Plugin::Datastruct::Yaml2TextPreprocessor
- Includes:
- Content
- Defined in:
- lib/metanorma/plugin/datastruct/yaml2_text_preprocessor.rb
Constant Summary
Constants inherited from BaseStructuredTextPreprocessor
BaseStructuredTextPreprocessor::BLOCK_END_REGEXP, BaseStructuredTextPreprocessor::BLOCK_START_REGEXP
Instance Method Summary collapse
-
#initialize(config = {}) ⇒ Yaml2TextPreprocessor
constructor
A new instance of Yaml2TextPreprocessor.
Methods included from PathResolver
Methods inherited from BaseStructuredTextPreprocessor
Constructor Details
#initialize(config = {}) ⇒ Yaml2TextPreprocessor
Returns a new instance of Yaml2TextPreprocessor.
12 13 14 15 |
# File 'lib/metanorma/plugin/datastruct/yaml2_text_preprocessor.rb', line 12 def initialize(config = {}) super @config[:block_name] = "yaml2text" end |