Class: LogStash::Filters::MathFunctions::Modulo
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::Modulo
- 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
137 138 139 |
# File 'lib/logstash/filters/math_functions.rb', line 137 def call(op1, op2) op1 % op2 end |
#name ⇒ Object
133 134 135 |
# File 'lib/logstash/filters/math_functions.rb', line 133 def name "modulo" end |