Class: Numeric
- Inherits:
-
Object
- Object
- Numeric
- Defined in:
- lib/usaidwat/ext/time.rb
Instance Method Summary collapse
Instance Method Details
#negative? ⇒ Boolean
44 45 46 |
# File 'lib/usaidwat/ext/time.rb', line 44 def negative? self < 0 end |
#positive? ⇒ Boolean
48 49 50 |
# File 'lib/usaidwat/ext/time.rb', line 48 def positive? self > 0 end |