def metodo(exec)
exec.call "Vinicius"
end
idade = 20
codigo = proc do |nome|
puts "Ola, #{nome}, voce tem #{idade} anos"
end
metodo(codigo)
ZGVmIG1ldG9kbyhleGVjKQogICAgZXhlYy5jYWxsICJWaW5pY2l1cyIKZW5kCmlkYWRlID0gMjAKY29kaWdvID0gcHJvYyBkbyB8bm9tZXwKICAgIHB1dHMgIk9sYSwgI3tub21lfSwgdm9jZSB0ZW0gI3tpZGFkZX0gYW5vcyIKZW5kCm1ldG9kbyhjb2RpZ28pCg==