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#&.
-
#===(other) ⇒ Boolean
Alias for TrueClass#===.
-
#^(obj) ⇒ Boolean
Alias for NilClass#^.
-
#inspect ⇒ "false"
Alias for #to_s.
-
#to_s ⇒ "false"
(also: #inspect)
'nuf said…
-
#|(obj) ⇒ Boolean
Alias for NilClass#|.
Instance Method Details
#&(obj) ⇒ false
#&(obj) ⇒ false
false
#&(obj) ⇒ false
Alias for NilClass#&.
#===(other) ⇒ Boolean
Alias for TrueClass#===. Case Equality – For class ::Object, effectively the same as calling #==
, but typically overridden by descendants to provide meaningful semantics in case
statements.
#^(obj) ⇒ Boolean
#^(obj) ⇒ Boolean
Boolean
#^(obj) ⇒ Boolean
Alias for NilClass#^.
#to_s ⇒ "false
"
#inspect ⇒ "false
"
false
"
#inspect ⇒ "false
"
Alias for #to_s.
#to_s ⇒ "false
" Also known as: #inspect
'nuf said…
#|(obj) ⇒ Boolean
#|(obj) ⇒ Boolean
Boolean
#|(obj) ⇒ Boolean
Alias for NilClass#|.