Class: Faml::Ast::Filter

Inherits:
Struct
  • Object
show all
Defined in:
lib/faml/ast.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize ⇒ Filter

Returns a new instance of Filter.



103
104
105
106
# File 'lib/faml/ast.rb', line 103

def initialize(*)
  super
  self.texts ||= []
end

Instance Attribute Details

#name ⇒ Object

Returns the value of attribute name

Returns:

  • (Object) —

    the current value of name



102
103
104
# File 'lib/faml/ast.rb', line 102

def name
  @name
end

#texts ⇒ Object

Returns the value of attribute texts

Returns:

  • (Object) —

    the current value of texts



102
103
104
# File 'lib/faml/ast.rb', line 102

def texts
  @texts
end