From: Robert Klemme Date: 2008-05-02T16:42:26+09:00 Subject: Re: Is there some way to execute a block within an arbitrary lexical scope? 2008/5/2 ara.t.howard : > > On May 1, 2008, at 3:31 PM, Ruby Talk wrote: > > > Let's say I'm doing some metaprogramming from another class and I want to > do something in B's full lexical class scope. What exactly is this "something"? > then you will need to use continuations. It depends of course what should be achieved. A simple constant lookup is easily done via #const_get. Other things can be achieved via #instance_eval. Cheers robert -- use.inject do |as, often| as.you_can - without end