Merge pull request #4443 from shuujii/move-Integral-zero-nonzero-positive-negative-to-Numeric

Move `Integral#(zero|nonzero|positive|negative)?` to `Numeric`
This commit is contained in:
Yukihiro "Matz" Matsumoto
2019-05-17 21:30:39 +09:00
committed by GitHub
@@ -1,4 +1,4 @@
module Integral
class Numeric
def zero?
self == 0
end