I have been playing with the Ruby library \"shoes\". Basically you can write a GUI application in the following way:
Shoes.app do t = para \"Not clicked!\" b
The closest you can get to rubyish blocks is the with statement from pep343:
http://www.python.org/dev/peps/pep-0343/