module Asciidoctor::Diagram::BarcodeMacroProcessor

Public Instance Methods

create_source(parent, target, attributes) click to toggle source
Calls superclass method
# File lib/asciidoctor-diagram/barcode/extension.rb, line 20
def create_source(parent, target, attributes)
  if attributes['external']
    super
  else
    code = parent.sub_attributes(target, :attribute_missing => 'warn')
    ::Asciidoctor::Diagram::ReaderSource.new(self, parent, code, attributes)
  end
end