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.
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 |