Class: Numeric

Inherits:
Object show all
Includes:
Doing::ChronifyNumeric
Defined in:
lib/doing/good.rb,
lib/doing/chronify/chronify.rb

Overview

Numeric helpers

Instance Method Summary collapse

Methods included from Doing::ChronifyNumeric

#format_time, #time_string

Instance Method Details

#good?Boolean

Test of number is positive

Returns:

  • (Boolean)


7
8
9
# File 'lib/doing/good.rb', line 7

def good?
  positive?
end