Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Returns true if int is an even number.
 
               # File numeric.rb, line 139
def even?
  Primitive.attr! 'inline'
  Primitive.cexpr! 'rb_int_even_p(self)'
end
            

Was this page useful?