Class: HamdownCore::Ast::HtmlList
- Inherits:
-
Struct
- Object
- Struct
- HamdownCore::Ast::HtmlList
- Includes:
- HasChildren
- Defined in:
- lib/hamdown_core/ast.rb
Overview
html
Direct Known Subclasses
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
Methods included from HasChildren
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
166 167 168 |
# File 'lib/hamdown_core/ast.rb', line 166 def children @children end |
#filename ⇒ Object
Returns the value of attribute filename
166 167 168 |
# File 'lib/hamdown_core/ast.rb', line 166 def filename @filename end |
#lineno ⇒ Object
Returns the value of attribute lineno
166 167 168 |
# File 'lib/hamdown_core/ast.rb', line 166 def lineno @lineno end |
#text ⇒ Object
Returns the value of attribute text
166 167 168 |
# File 'lib/hamdown_core/ast.rb', line 166 def text @text end |
Instance Method Details
#to_h ⇒ Object
169 170 171 |
# File 'lib/hamdown_core/ast.rb', line 169 def to_h super.merge(type: 'html_list') end |