This comment has been minimized.
This comment has been minimized.Show comment Hide comment
Colin is right, it seems that, due to a 'quirk' in the way ruby parses and evaluates the assignments of constants. They are set to the global namespace when attempted to be assigned in a block such as
Mod.module_exec do Mod::C = :c end Mod::C #=> :c