if condition expression else expression#SYNTAX: if condition your code elsif condition your code else your code end #EXAMPLES: x = 12 y = '12' if (x == y and (x.class == Integer)) puts "Identical!" elsif (y == 12 and (y.class == String)) puts "Identical!" else puts "None were found identical"if <conditional> code... elsif <conditional> code... else code... endif true "if statement" elsif false "else if, optional" else "else, also optional" endif condition expression