Created
January 1, 2018 20:48
-
-
Save ryanckulp/9350b705137175c4cc9fded06af6c098 to your computer and use it in GitHub Desktop.
elsif example in Ruby
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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