Class: MDOM::BlockNode

Inherits:
Node
  • Object
show all
Defined in:
lib/mdom/nodes.rb

Overview

Each concrete node class fixes its type and declares which children it accepts. Subclassing Node keeps everything a Node so traversal is uniform.

Direct Known Subclasses

Blockquote, CodeBlock, Document, Heading, Hrule, List, ListItem, Paragraph

Instance Attribute Summary

Attributes inherited from Node

#attributes, #children, #parent, #type

Method Summary

Methods inherited from Node

#[], #ancestors, #append, #children?, #depth, #each_child, #empty?, #find, #find_all, #initialize, #insert_after, #insert_before, #inspect, #plain_text, #pretty_print, #remove, #replace, #root, #text?, #to_markdown, #to_s, #walk

Constructor Details

This class inherits a constructor from MDOM::Node