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...

Markdown supported · ⌘↵ to post
Alexandre Calaça
Here is a list of other articles blog.alexandrecalaca.com/archive