< Ruby Programming < Reference < Objects

The only instance of FalseClass is false.

Methods:

false & other - Logical AND, without short circuit behavior
false | other - Logical OR, without short circuit behavior
false ^ other - Exclusive Or (XOR)
This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.