Skip to content

Instantly share code, notes, and snippets.

@ryanckulp
Created January 1, 2018 21:47
Show Gist options
  • Save ryanckulp/2ff8ecdf12ee464ad09cedda89bc4d54 to your computer and use it in GitHub Desktop.
Save ryanckulp/2ff8ecdf12ee464ad09cedda89bc4d54 to your computer and use it in GitHub Desktop.
if example with 2 variables in Ruby
if x == y
alert "Correct!"
else
alert "Incorrect!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment