Skip to content

Instantly share code, notes, and snippets.

@YanTheFawn
Created November 20, 2014 23:44
Show Gist options
  • Save YanTheFawn/93bd4b9129f158d9b0c8 to your computer and use it in GitHub Desktop.
Save YanTheFawn/93bd4b9129f158d9b0c8 to your computer and use it in GitHub Desktop.
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