Many programming languages, including Ruby, have native boolean (true and false) data types. In Ruby they're called
false. In Python, for example, they're written as
False. But oftentimes we want to use a non-boolean value (integers, strings, arrays, etc.) in a boolean context (if statement, &&, ||, etc.).
If you want to use or share this material, please see the license file, below.