>>>>> "D" == Dalibor Sramek <dali / insula.cz> writes:

D> Now I get mc.rb:5: uninitialized constant Myclass (NameError)

[...]

D> I believe that using module::class notation is an option and the original way 
D> should still work. Am I right?

 There is an inconsistance between rb_const_defined_at() and
 rb_const_get_at() 

 ruby can think that a constant is defined, but it will unable to retrieve
 it. 



Guy Decoux