Quartz::Verifiers::NumericalityChecker
Inherits Quartz::Verifiers::EachChecker / Quartz::Verifiers::RuntimeChecker / Reference / Object
Constants
VALID_KEYS = { {:greater_than, :gt, :>}, {:lesser_than, :lt, :<}, {:greater_than_or_equal_to, :gte, :>=}, {:lesser_than_or_equal_to, :lte, :<=}, {:equal_to, :==}, {:not_equal_to, :!=}, {:negative}, {:positive}, {:zero}, {:not_zero}, {:finite}, {:infinite} }
Constructors
new(*attributes, **kwargs)
TODO what about big numbers? TODO what about comparison within delta ? TODO option for float comparison within error
Instance methods
check_each(model, attribute, value)
Override this method in subclasses with the verification logic, adding errors to the records errors array where necessary.
targets
Source