Module: Asciidoctor::Diagram::MemeProcessor

Included in:
MemeBlockMacroProcessor, MemeInlineMacroProcessor
Defined in:
lib/asciidoctor-diagram/meme/extension.rb

Instance Method Summary collapse

Instance Method Details

#create_source(parent, target, attributes) ⇒ Object



7
8
9
10
11
# File 'lib/asciidoctor-diagram/meme/extension.rb', line 7

def create_source(parent, target, attributes)
  attributes = attributes.dup
  attributes['background'] = apply_target_subs(parent, target)
  ::Asciidoctor::Diagram::ReaderSource.new(self, parent, '', attributes)
end