Skip to content

Instantly share code, notes, and snippets.

@0x1eef

0x1eef/til.rb Secret

Created March 13, 2023 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0x1eef/81ea57483866f61b39ed82973ff2b6df to your computer and use it in GitHub Desktop.
Save 0x1eef/81ea57483866f61b39ed82973ff2b6df to your computer and use it in GitHub Desktop.
def foo
p 'in foo'
bar(baz:)
end
def bar(baz:)
p 'in bar'
baz
end
def baz
p 'in baz'
1
end
p foo
##
# "in foo"
# "in baz"
# "in bar"
# 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment