Skip to content

Instantly share code, notes, and snippets.

@enebo

enebo/repro.rb Secret

Created April 26, 2022 16:39
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 enebo/0e863a3d4ccf727960cfff753a67d366 to your computer and use it in GitHub Desktop.
Save enebo/0e863a3d4ccf727960cfff753a67d366 to your computer and use it in GitHub Desktop.
def foo(a, b)
[a, b]
end
def forward(...)
proc { foo(...) }.call
end
p forward(1, 2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment