Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Returns true if int has a zero value.
 
               # File numeric.rb, line 226
def zero?
  Primitive.attr! 'inline'
  Primitive.cexpr! 'rb_int_zero_p(self)'
end
            

Was this page useful?