Null Objects and Falsiness

Thank you to Ben Hamill for sending me a question that prompted this post. Checking for object presence Very often in Ruby code, we would like to execute some action only if an object is present:

Strictly speaking, we aren’t checking for object presence here. In Ruby there is almost […]