Class: Dato::DastNode
- Defined in:
- app/components/dato/dast_node.rb
Direct Known Subclasses
Block, Blockquote, Code, Heading, InlineBlock, ItemLink, Link, List, ListItem, NotRendered, Paragraph, Span, ThematicBreak, UnknownNode
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
- #generated_tag ⇒ Object
-
#initialize(node, type, root = nil) ⇒ DastNode
constructor
A new instance of DastNode.
Methods inherited from Node
#blocks, #debug_node, #links, #overrides, #render_node
Constructor Details
Instance Method Details
#generated_tag ⇒ Object
13 14 15 |
# File 'app/components/dato/dast_node.rb', line 13 def generated_tag @type end |