On Jul 23, 2008, at 5:34 PM, bparanj / gmail.com wrote:

> Wikipedia definition:
>
> The scope of a variable describes where in a program's text, the
> variable may be used, while the extent (or lifetime) describes when in
> a program's execution a variable has a value. The scope of a variable
> is actually a property of the name of the variable, and the extent is
> a property of the variable itself.
>
> Are they defined the same way in Ruby? TIA.



extent = scope

lexical scope = scope

in 'normal' ruby parlance.


a @ http://codeforpeople.com/
--
we can deny everything, except that we have the possibility of being  
better. simply reflect on that.
h.h. the 14th dalai lama