The object nil is logically equivalent to false. Any other object is true, including the number zero (0), the empty string (""), and the empty array ([]). Ruby's nil is like Python's None. For historical reasons, NIL, FALSE, and TRUE are mapped to the lowercase equivalents.