Doc::Node type
Direct parent types
- Doc::Container
Any document part that can contain other elements. Direct subtypes: 2
Methods
- init(n:Doc::Node, name:Str, children:Arr=null, **attrs:Hash)
Initialize document node Example
Doc::Node('span', class='inline-param') with [ Doc::Text(param.name) Doc::Text(':') Doc::Text(param.type.name) ... ]
- Doc::name(n:Doc::Node)
Undocumented
- Doc::Html(n:Doc::Node)
Undocumented
- Doc::HtmlRoot(n:Doc::Node)
Create HTML document from the give top level document node Returns
Str