Class: ReverseAsciidoctor::Converters::Example
- Defined in:
- lib/reverse_asciidoctor/converters/example.rb
Instance Method Summary collapse
Methods inherited from Base
#escape_keychars, #extract_title, #treat, #treat_children
Instance Method Details
#convert(node, state = {}) ⇒ Object
6 7 8 9 10 11 12 13 |
# File 'lib/reverse_asciidoctor/converters/example.rb', line 6 def convert(node, state = {}) " [example]\n ====\n \#{treat_children(node, state)}\n ====\n TEMPLATE\nend\n" |