Class: LogStash::Filters::MathFunctions::FloatDivide
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::FloatDivide
- 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
124 125 126 |
# File 'lib/logstash/filters/math_functions.rb', line 124 def call(op1, op2) op1.fdiv(op2) end |
#name ⇒ Object
120 121 122 |
# File 'lib/logstash/filters/math_functions.rb', line 120 def name "float_divide" end |