Class: HamlParser::Ast::Root
- Inherits:
-
Struct
- Object
- Struct
- HamlParser::Ast::Root
- Includes:
- HasChildren
- Defined in:
- lib/haml_parser/ast.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
Instance Method Summary collapse
Methods included from HasChildren
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
18 19 20 |
# File 'lib/haml_parser/ast.rb', line 18 def children @children end |
Instance Method Details
#to_h ⇒ Object
21 22 23 |
# File 'lib/haml_parser/ast.rb', line 21 def to_h super.merge(type: 'root') end |