Created
July 24, 2016 08:08
-
-
Save AnkurVyas-BTC/71ec0ca90652817495a83934a53ca590 to your computer and use it in GitHub Desktop.
How to set variables with if else.
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
variable_result = if condition_1 | |
a | |
else_if condition_2 | |
b | |
else | |
c | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment