Ruby If, Else If Command Syntax - How-To Geek - For Geeks, By Geeks.
The Ruby language has a very simple control structure that is easy to read and follow. If syntax if var == 10 print “Variable is 10″ end If Else Syntax if var == 10 print “Variable is 10″ else print “Variable is something else” end If Else If Syntax Here’...