Class: LogStash::Filters::MathFunctions::Round
- Inherits:
-
Object
- Object
- LogStash::Filters::MathFunctions::Round
- 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
71 72 73 |
# File 'lib/logstash/filters/math_functions.rb', line 71 def call(op1, op2) op1.round(op2) end |
#name ⇒ Object
67 68 69 |
# File 'lib/logstash/filters/math_functions.rb', line 67 def name "round" end |