class Hermod::Validators::WholeUnits

def test(value, attributes)

def test(value, attributes)
  value.blank? || value == value.to_i
end