Created
December 14, 2019 13:39
-
-
Save CHTJonas/064f9e6175b4d5ae5ae6248217951d43 to your computer and use it in GitHub Desktop.
Full method delegation in Ruby 3
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 foo(*args, **kwargs, &block) | |
target(*args, **kwargs, &block) | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment