Class: FastHaml::Ast::SilentScript
- Inherits:
-
Struct
- Object
- Struct
- FastHaml::Ast::SilentScript
- Includes:
- HasChildren
- Defined in:
- lib/fast_haml/ast.rb
Instance Attribute Summary collapse
-
#children ⇒ Object
Returns the value of attribute children.
-
#mid_block_keyword ⇒ Object
Returns the value of attribute mid_block_keyword.
-
#script ⇒ Object
Returns the value of attribute script.
Instance Method Summary collapse
-
#initialize ⇒ SilentScript
constructor
A new instance of SilentScript.
Methods included from HasChildren
Constructor Details
#initialize ⇒ SilentScript
Returns a new instance of SilentScript.
77 78 79 80 81 82 |
# File 'lib/fast_haml/ast.rb', line 77 def initialize(*) super if self.mid_block_keyword.nil? self.mid_block_keyword = false end end |
Instance Attribute Details
#children ⇒ Object
Returns the value of attribute children
74 75 76 |
# File 'lib/fast_haml/ast.rb', line 74 def children @children end |
#mid_block_keyword ⇒ Object
Returns the value of attribute mid_block_keyword
74 75 76 |
# File 'lib/fast_haml/ast.rb', line 74 def mid_block_keyword @mid_block_keyword end |
#script ⇒ Object
Returns the value of attribute script
74 75 76 |
# File 'lib/fast_haml/ast.rb', line 74 def script @script end |