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.
109 110 111 112 |
# File 'lib/fast_haml/ast.rb', line 109 def initialize(*) super self.texts ||= [] end |
Instance Attribute Details
#name ⇒ Object
Returns the value of attribute name
108 109 110 |
# File 'lib/fast_haml/ast.rb', line 108 def name @name end |
#texts ⇒ Object
Returns the value of attribute texts
108 109 110 |
# File 'lib/fast_haml/ast.rb', line 108 def texts @texts end |