Skip to content

Instantly share code, notes, and snippets.

@ryanckulp
Created January 1, 2018 21:25
Show Gist options
  • Save ryanckulp/d4d45dc6ae8e0b588b3e284ed8218723 to your computer and use it in GitHub Desktop.
Save ryanckulp/d4d45dc6ae8e0b588b3e284ed8218723 to your computer and use it in GitHub Desktop.
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