Created
March 2, 2019 09:19
-
-
Save tbuehlmann/dd07be2f539cc8c7fc927df2eef2b04a 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
def some_method | |
some_variable = 42 | |
yield some_variable | |
end | |
some_method do |that_variable| | |
puts that_variable | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment