Class: HamdownCore::Ast::SilentScript
- Inherits:
-
Struct
- Object
- Struct
- HamdownCore::Ast::SilentScript
- Includes:
- HasChildren
- Defined in:
- lib/hamdown_core/ast.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#keyword ⇒ Object
Returns the value of attribute keyword.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#script ⇒ Object
Returns the value of attribute script.
Instance Method Summary collapse
Methods included from HasChildren
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
107 108 109 |
# File 'lib/hamdown_core/ast.rb', line 107 def children @children end |
#filename ⇒ Object
Returns the value of attribute filename
107 108 109 |
# File 'lib/hamdown_core/ast.rb', line 107 def filename @filename end |
#keyword ⇒ Object
Returns the value of attribute keyword
107 108 109 |
# File 'lib/hamdown_core/ast.rb', line 107 def keyword @keyword end |
#lineno ⇒ Object
Returns the value of attribute lineno
107 108 109 |
# File 'lib/hamdown_core/ast.rb', line 107 def lineno @lineno end |
#script ⇒ Object
Returns the value of attribute script
107 108 109 |
# File 'lib/hamdown_core/ast.rb', line 107 def script @script end |
Instance Method Details
#to_h ⇒ Object
110 111 112 |
# File 'lib/hamdown_core/ast.rb', line 110 def to_h super.merge(type: 'silent_script') end |