[ create a new paste ] login | about

Link: http://codepad.org/S8APqZfq    [ raw code | output | fork ]

Ruby, pasted on Sep 12:
1
2
3
4
5
6
7
def bar(&block)
  block.call
end

bar do
  puts "hello, world"
end


Output:
1
hello, world


Create a new paste based on this one


Comments: