1000.times do
H.include Object.const_set($words.sample(5).join,
Module.new)
end
100.times do
H.swap_modules(H.ancestors[rand(100) + 10],
H.ancestors[rand(100) + 10])
end
Causes error: not a T_MODULE, T_CLASS, T_FALSE, T_ICLASS etc, and results in bizarrely truncated ancestor chain.
Causes error: not a T_MODULE, T_CLASS, T_FALSE, T_ICLASS etc, and results in bizarrely truncated ancestor chain.