Class: LogStash::Filters::MathFunctions::Subtract
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::Subtract
- 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
47 48 49 |
# File 'lib/logstash/filters/math_functions.rb', line 47 def call(op1, op2) op1 - op2 end |
#name ⇒ Object
44 45 46 |
# File 'lib/logstash/filters/math_functions.rb', line 44 def name "subtract" end |