Class: Asciidoctor::Ptc::BlockProcessor

Inherits:
Extensions::BlockProcessor
  • Object
show all
Includes:
Processor
Defined in:
lib/asciidoctor/ptc/extension.rb

Overview

Delimited block:

[ptc]

relay R_FDR { ... }

Optional positional attributes: [ptc, target-basename, format].

Instance Method Summary collapse

Methods included from Processor

#render_ptc

Instance Method Details

#process(parent, reader, attrs) ⇒ Object



152
153
154
# File 'lib/asciidoctor/ptc/extension.rb', line 152

def process(parent, reader, attrs)
  render_ptc(parent, reader.source, attrs, attrs['target'])
end