module Grip::Extensions::Number
Direct including types
Defined in:
grip/extensions/number.crInstance Method Summary
-
#above?(n)
the number above n value validation
-
#below?(n)
the number below n value validation
- #between?(range)
-
#div?(n)
the number divisibility (n) validation
- #gteq?(num)
- #lt?(num)
- #lteq?(num)
-
#negative?
the negative number validation
-
#positive?
the positive number validation
- #self?(num)
-
#zero?
the number equals zero validation