Ruby : the "unless" keyword
You are probably familiar with the “
if else” control flow but there are certain situations where there may be a visually better way to write these statements. Here we will discuss how you can achieve this via the
unless keyword in Ruby and the different ways you can use it.