Class: Gitlab::Asciidoc::MermaidBlockProcessor

Inherits:
Asciidoctor::Extensions::BlockProcessor
  • Object
show all
Defined in:
lib/gitlab/asciidoc/mermaid_block_processor.rb

Overview

Mermaid BlockProcessor

Instance Method Summary collapse

Instance Method Details

#process(parent, reader, attrs) ⇒ Object


15
16
17
# File 'lib/gitlab/asciidoc/mermaid_block_processor.rb', line 15

def process(parent, reader, attrs)
  create_mermaid_source_block(parent, reader.read, attrs)
end