Unless control flow


#1

im so confused can anyone help


this is what i got: 

problem = false 
print "good to go!" 
unless problem


#2

# Two ways
problem = false 
unless problem
    # print what you want
end

#Or with the Ruby unless modifier
print "What you want here " unless problem  # one liner

#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.