Class: FalseClass
Overview
The global value false
is the only instance of class FalseClass
and represents a logically false value in boolean expressions. The class provides operators allowing false
to participate correctly in logical expressions.
Instance Method Summary
-
#&(obj) ⇒ false
Alias for NilClass#&.
- #===
- #^
-
#inspect ⇒ "false"
Alias for #to_s.
-
#to_s ⇒ "false"
(also: #inspect)
The string representation of
false
is “false”. - #|
Instance Method Details
#&(obj) ⇒ false
#&(obj) ⇒ false
false
#&(obj) ⇒ false
Alias for NilClass#&.
#===
[ GitHub ]#^
[ GitHub ]
#to_s ⇒ "false
"
#inspect ⇒ "false
"
false
"
#inspect ⇒ "false
"
Alias for #to_s.
#to_s ⇒ "false
" Also known as: #inspect
The string representation of false
is “false”.
# File 'object.c', line 1411
MJIT_FUNC_EXPORTED VALUE rb_false_to_s(VALUE obj) { return rb_cFalseClass_to_s; }