Method: TrueClass#&
- Defined in:
- object.c
permalink #&(obj) ⇒ Boolean
And—Returns false
if obj is nil
or false
, true
otherwise.
1438 1439 1440 1441 1442 |
# File 'object.c', line 1438
static VALUE
true_and(VALUE obj, VALUE obj2)
{
return RTEST(obj2)?Qtrue:Qfalse;
}
|