Mega Code Archive
Categories
/
Ruby
/
Statement
Lay out an if statement is by replacing the then with a colon (
x = 256 if x == 256: puts "x equals 256" end