Create a gist now

Instantly share code, notes, and snippets.

Embed
What would you like to do?
else example in Ruby
if 2 + 2 == x
alert "Correct!"
else
alert "Incorrect!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment