def foo
# Chame o bloco
yield
end
foo { puts "Exec the block"}
© copyright - todos os direitos reservados | olhonavaga.com.br