From: Gavin Sinclair Date: 2003-08-13T21:25:07+09:00 Subject: Re: Nested class/module namespace On Wednesday, August 13, 2003, 9:39:28 PM, dblack wrote: >> [...] To my way of thinking, the only thing that should be >> important in an execution context is the value of "self". [...] > Keep in mind, though, that this isn't the only such situation in Ruby. > See my previous post with the class_eval example; I agree with Nathan that what goes on in "eval" and friends is a different matter, although I'd be happy if it were less surprising. > also, here's another situation where 'self' can be the same but > visibility of constants is different: [...] > (Having several such situations may not make it more attractive to > you, but I just wanted to get this one on the radar.) One more case I'd like an explanation and justification for :) Gavin