return
proc
def
do
x = 7 proc { puts x }.call #=> 7 def foo puts x end foo #=> NameError: undefined local variable or method `x'