Created
March 24, 2017 22:42
-
-
Save AndrewRayCode/8bf3eeb441c15440044fc40e8cfc2a05 to your computer and use it in GitHub Desktop.
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
def if_statement | |
a | |
if condition? | |
c( | |
1, | |
2, | |
3 | |
) | |
end | |
end | |
def guarded | |
a | |
c( | |
1, | |
2, | |
3 | |
) if condition? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment