Method: Numeric#positive?

Defined in:
lib/hash-utils/numeric.rb

#positive?Boolean Also known as: positive

Returns:

  • (Boolean)

Since:

  • 0.16.0



37
38
39
# File 'lib/hash-utils/numeric.rb', line 37

def positive?
    self > 0
end