Class: PointBlank::DOM::LeafLiteralBlock

Inherits:
LeafBlock show all
Defined in:
lib/mmmd/blankshell.rb

Overview

Leaf literal block (virtual)

Direct Known Subclasses

CodeBlock, IndentBlock

Instance Attribute Summary

Attributes inherited from DOMObject

#content, #parent, #parser, #position, #properties, #temp_children

Instance Method Summary collapse

Methods inherited from DOMObject

#[], #[]=, #append_child, #append_temp_child, #children, define_child, define_overlay, define_parser, define_scanner, #each, inherited, #initialize, parse, #root, sort_children, sort_overlays, upsource, valid_children, valid_overlays

Constructor Details

This class inherits a constructor from PointBlank::DOM::DOMObject

Instance Method Details

#parse_innerObject

Virtual hook to push inlines in place of leaf blocks



1725
1726
1727
1728
1729
# File 'lib/mmmd/blankshell.rb', line 1725

def parse_inner
  child = ::PointBlank::DOM::Text.new
  child.content = content
  append_child(child)
end