Returns true if object is false or nil, false otherwise:
true
object
false
nil
true ^ Object.new # => false true ^ false # => true true ^ nil # => true
1556 1557 1558 1559 1560
# File 'object.c', line 1556 static VALUE true_xor(VALUE obj, VALUE obj2) { return rb_obj_not(obj2); }