Skip to content

Instantly share code, notes, and snippets.

@ryanckulp ryanckulp/if_x_y.rb
Created Jan 1, 2018

Embed
What would you like to do?
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
You can’t perform that action at this time.