Class: LogStash::Filters::MathFunctions::Add
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::Add
- Includes:
- NoValidityCheckNeeded
- Defined in:
- lib/logstash/filters/math_functions.rb
Instance Method Summary collapse
Methods included from NoValidityCheckNeeded
Instance Method Details
#call(op1, op2) ⇒ Object
36 37 38 |
# File 'lib/logstash/filters/math_functions.rb', line 36 def call(op1, op2) op1 + op2 end |
#name ⇒ Object
32 33 34 |
# File 'lib/logstash/filters/math_functions.rb', line 32 def name "add" end |