Class: Atatus::Config::RoundFloat Private

Inherits:
Object
  • Object
show all
Defined in:
lib/atatus/config/round_float.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Method Summary collapse

Instance Method Details

#call(value) ⇒ Object

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



26
27
28
# File 'lib/atatus/config/round_float.rb', line 26

def call(value)
  Util::PrecisionValidator.validate(value, precision: 4, minimum: 0.0001)
end