Class: LogStash::StaticNode

Inherits:
Object
  • Object
show all
Defined in:
lib/logstash/string_interpolation.rb

Instance Method Summary collapse

Constructor Details

#initialize(content) ⇒ StaticNode

Returns a new instance of StaticNode.



93
94
95
# File 'lib/logstash/string_interpolation.rb', line 93

def initialize(content)
  @content = content
end

Instance Method Details

#evaluate(event) ⇒ Object



97
98
99
# File 'lib/logstash/string_interpolation.rb', line 97

def evaluate(event)
  @content
end