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.
71 72 73 74 75 76 |
# File 'lib/fast_haml/ast.rb', line 71 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
68 69 70 |
# File 'lib/fast_haml/ast.rb', line 68 def children @children end |
#mid_block_keyword ⇒ Object
Returns the value of attribute mid_block_keyword
68 69 70 |
# File 'lib/fast_haml/ast.rb', line 68 def mid_block_keyword @mid_block_keyword end |
#script ⇒ Object
Returns the value of attribute script
68 69 70 |
# File 'lib/fast_haml/ast.rb', line 68 def script @script end |