create a variable and compare it with a number.
# If the variable and number are equal, the code is executed. x = 256 if x == 256 puts "x equals 256" end # => x equals 256