mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -1,4 +1,4 @@
|
||||
module Integral
|
||||
class Numeric
|
||||
def zero?
|
||||
self == 0
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user