instance method Numeric#negative?

negative? -> bool[permalink][rdoc][edit]

self が 0 未満の場合に true を返します。そうでない場合に false を返します。



-1.negative?   # => true
0.negative?    # => false
1.negative?    # => false

[SEE_ALSO] Numeric#positive?