Ruby Programming/Reference/Objects/FalseClass

From Wikibooks, open books for an open world
< Ruby Programming‎ | Reference‎ | Objects
Jump to: navigation, search

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)