Created
August 25, 2016 09:21
-
-
Save anonymous/3e6e109b7f11a5588935e08078f6a6e2 to your computer and use it in GitHub Desktop.
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
lambda do |fn| | |
fn.call(1) | |
end.call( | |
SOME_LAMBDA | |
) | |
############ | |
def method | |
yield(1) | |
end | |
method do | |
SOME_BLOCK | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment