Class: FastHaml::Ast::Filter
- Inherits:
-
Struct
- Object
- Struct
- FastHaml::Ast::Filter
- Defined in:
- lib/fast_haml/ast.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
Returns the value of attribute name.
-
#texts ⇒ Object
Returns the value of attribute texts.
Instance Method Summary collapse
-
#initialize ⇒ Filter
constructor
A new instance of Filter.
Constructor Details
#initialize ⇒ Filter
Returns a new instance of Filter.
103 104 105 106 |
# File 'lib/fast_haml/ast.rb', line 103 def initialize(*) super self.texts ||= [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
102 103 104 |
# File 'lib/fast_haml/ast.rb', line 102 def name @name end |
#texts ⇒ Object
Returns the value of attribute texts
102 103 104 |
# File 'lib/fast_haml/ast.rb', line 102 def texts @texts end |