Class: Fluent::FilterWhere::Parser::StringLiteral

Inherits:
Literal
  • Object
show all
Defined in:
lib/fluent/plugin/filter_where/parser/literal.rb

Instance Attribute Summary

Attributes inherited from Literal

#text, #val

Instance Method Summary collapse

Methods inherited from Literal

#get

Constructor Details

#initialize(text) ⇒ StringLiteral

Returns a new instance of StringLiteral.



37
38
39
40
# File 'lib/fluent/plugin/filter_where/parser/literal.rb', line 37

def initialize(text)
  @text = text
  @val = text
end