Mastering falsy values in Ruby: A step-by-step guide
TL; DR: There are only two falsy values in Ruby: false and nil.
Falsy values
Falsy values are values that are considered false when evaluated in a Boolean context.
In other words, they are non-Boolean values that are treated as if they were Boolean...
blog.alexandrecalaca.com4 min read
Alexandre Calaça
Here is a list of other articles blog.alexandrecalaca.com/archive