-
-
Save yachi/6281136 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
def runner(v1, &block) | |
puts v1 | |
yield(v1) if block_given? | |
end | |
runner "jithub" | |
runner "OHAI" do |v1| | |
puts "ARRAR" | |
puts v1 | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment