Module: PosMethods
- Defined in:
- lib/netsnmp.rb
Overview
Ruby 2.3 Backport (Numeric#positive?)
Instance Method Summary collapse
Instance Method Details
#positive? ⇒ Boolean
61 62 63 |
# File 'lib/netsnmp.rb', line 61 def positive? self > 0 end |