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.



103
104
105
# File 'lib/logstash/string_interpolation.rb', line 103

def initialize(content)
  @content = content
end

Instance Method Details

#evaluate(event) ⇒ Object



107
108
109
# File 'lib/logstash/string_interpolation.rb', line 107

def evaluate(event)
  @content
end