Created
November 20, 2014 23:44
-
-
Save YanTheFawn/93bd4b9129f158d9b0c8 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
class NumberThing | |
def return_number | |
return 12 | |
end | |
def test(new_number:true) | |
if new_number | |
return_number = 5 | |
else | |
return_number | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment