On Sun, 26 Aug 2007 18:38:46 +0900, Stefan Rusterholz wrote:

> a = 5
> b = proc { "a is now: #{a}" }
> def b.to_s; call; end
> puts b # !> a is now: 5
> a = 6
> puts b # !> a is now: 6

Many thanks for the quick help !!!
Thomas