Class: LogStash::Filters::MathFunctions::Divide
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::Divide
- Includes:
- DivByZeroValidityCheck, Util::Loggable
- Defined in:
- lib/logstash/filters/math_functions.rb
Instance Method Summary collapse
Methods included from DivByZeroValidityCheck
Instance Method Details
#call(op1, op2) ⇒ Object
111 112 113 |
# File 'lib/logstash/filters/math_functions.rb', line 111 def call(op1, op2) op1 / op2 end |
#name ⇒ Object
107 108 109 |
# File 'lib/logstash/filters/math_functions.rb', line 107 def name "divide" end |