= private = protected
|(p1)
Or—Returns true. As anObject is an argument to a method call, it is always evaluated; there is no short-circuit evaluation in this case.
true | puts("or") true || puts("logical or")
produces:
or
static VALUE true_or(VALUE obj, VALUE obj2) { return Qtrue; }