Class: LogStash::StaticNode
- Inherits:
-
Object
- Object
- LogStash::StaticNode
- Defined in:
- lib/logstash/string_interpolation.rb
Instance Method Summary collapse
- #evaluate(event) ⇒ Object
-
#initialize(content) ⇒ StaticNode
constructor
A new instance of StaticNode.
Constructor Details
#initialize(content) ⇒ StaticNode
Returns a new instance of StaticNode.
92 93 94 |
# File 'lib/logstash/string_interpolation.rb', line 92 def initialize(content) @content = content end |
Instance Method Details
#evaluate(event) ⇒ Object
96 97 98 |
# File 'lib/logstash/string_interpolation.rb', line 96 def evaluate(event) @content end |