ruby what value is true and false code example Example: ruby check if true if variable # true else # false