Class: Faml::Ast::Filter
- Inherits:
-
Struct
- Object
- Struct
- Faml::Ast::Filter
- Defined in:
- lib/faml/ast.rb
Instance Attribute Summary collapse
-
#filename ⇒ Object
Returns the value of attribute filename.
-
#lineno ⇒ Object
Returns the value of attribute lineno.
-
#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.
107 108 109 110 |
# File 'lib/faml/ast.rb', line 107 def initialize(*) super self.texts ||= [] end |
Instance Attribute Details
#filename ⇒ Object
Returns the value of attribute filename
106 107 108 |
# File 'lib/faml/ast.rb', line 106 def filename @filename end |
#lineno ⇒ Object
Returns the value of attribute lineno
106 107 108 |
# File 'lib/faml/ast.rb', line 106 def lineno @lineno end |
#name ⇒ Object
Returns the value of attribute name
106 107 108 |
# File 'lib/faml/ast.rb', line 106 def name @name end |
#texts ⇒ Object
Returns the value of attribute texts
106 107 108 |
# File 'lib/faml/ast.rb', line 106 def texts @texts end |