Class: PointBlank::DOM::LeafLiteralBlock
- Defined in:
- lib/mmmd/blankshell.rb
Overview
Leaf literal block (virtual)
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from DOMObject
#content, #parent, #parser, #position, #properties, #temp_children
Instance Method Summary collapse
-
#parse_inner ⇒ Object
Virtual hook to push inlines in place of leaf blocks.
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_inner ⇒ Object
Virtual hook to push inlines in place of leaf blocks
1726 1727 1728 1729 1730 |
# File 'lib/mmmd/blankshell.rb', line 1726 def parse_inner child = ::PointBlank::DOM::Text.new child.content = content append_child(child) end |