struct Int32
Defined in:
wannabe_bool/int.crInstance Method Summary
-
#zero?
Returns
true
ifself
is equal to zero.
Instance methods inherited from module WannabeBool::Int
to_b
to_b
Instance Method Detail
def zero?
#
Description copied from struct Number
Returns true
if self
is equal to zero.
0.zero? # => true
5.zero? # => false