Mega Code Archive

 
Categories / Ruby / Statement
 

The simple form of an if statement looks like this

if Boolean [then | :]   code end