apparently it changed it 1.9.2

http://www.ruby-forum.com/topic/518282

any body have any ideas on how to fake the old behavior?

stephen

On Dec 7, 2010, at 11:56 AM, Stephen Prater wrote:

> given:
>
> class A
>  class B
>    class C
>    end
>  end
> end
>
> I would expect
>
> A.class_eval { B }  to find A::B - but instead it raises "NameError  
> uninitialized constant Class::B"
>
> am I misreading what this (http://stackoverflow.com/questions/3434884/accessing-ruby-class-variables-with-class-eval-and-instance-eval 
> ) says?
>
> I am using 1.9.2.
>
> stephen
>
>
>