if else in ruby script code example
Example 1: ruby if statement
if condition
expression
Example 2: if else ruby
if condition
expression
else
expression
if condition
expression
if condition
expression
else
expression