From: "Florian Aßmann" Date: 2007-08-30T09:48:39+09:00 Subject: Re: How does ruby handle scope and closure in this case? Hi, I think it's a excution stack thing, you should look a the C code if you want to understand ruby magic. Hope I got your question, otherwise the text you got this example from describes fairly good why the 'thing' (or aThing) variable 'gets' out of scope (its refence is still hold by the Proc object). Even in the first case you should got the Object out of scope since you passed the reference: def n_times(thing) puts thing.object_id return thing end pi = n_times(23) puts pi.object_id Regards Florian