codepad
[
create a new paste
]
login
|
about
Link:
http://codepad.org/iKSvs7hE
[
raw code
|
output
|
fork
]
Ruby
,
pasted on Aug 9:
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: