Class: Asciidoctor::Diagram::MemeBlockMacroProcessor
- Inherits:
-
DiagramBlockMacroProcessor
- Object
- Extensions::BlockMacroProcessor
- DiagramBlockMacroProcessor
- Asciidoctor::Diagram::MemeBlockMacroProcessor
- Defined in:
- lib/asciidoctor-diagram/meme/extension.rb
Defined Under Namespace
Classes: StringReader
Constant Summary
Constants included from DiagramProcessor
DiagramProcessor::IMAGE_PARAMS
Instance Method Summary collapse
Methods inherited from DiagramBlockMacroProcessor
Methods included from DiagramProcessor
Instance Method Details
#create_source(parent, target, attributes) ⇒ Object
21 22 23 24 25 |
# File 'lib/asciidoctor-diagram/meme/extension.rb', line 21 def create_source(parent, target, attributes) attributes = attributes.dup attributes['background'] = apply_target_subs(parent, target) ::Asciidoctor::Diagram::ReaderSource.new(self, parent, StringReader.new(''), attributes) end |