Skip to content

Instantly share code, notes, and snippets.

@ryanckulp
Created January 1, 2018 20:48
Show Gist options
  • Save ryanckulp/9350b705137175c4cc9fded06af6c098 to your computer and use it in GitHub Desktop.
Save ryanckulp/9350b705137175c4cc9fded06af6c098 to your computer and use it in GitHub Desktop.
elsif example in Ruby
if x > 4
if x < 6
alert "Correct!"
end
elsif x == 4
alert "Correct!"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment