Created
November 16, 2015 16:02
-
-
Save samaaron/e98ba9d54cb5b27d6261 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
define :foo do |&block| | |
block.call("hello") | |
end | |
foo do |m| | |
puts "#{m} Sam" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment