Closed CodeMonkeySteve closed 6 years ago
@CodeMonkeySteve I can't conceive a better solution than using remove_const so I'd go for it.
I've pushed a fix with a couple of tests, and will update gem to beta3 soon. Please check it, if everything goes OK, I think it will make sense to port the fix to 0.6.1 branch.
Your fix works great, thanks.
Seeing lots of warnings about redefining
Thread
andOldThread
, inthread-alias/alias_thread.rb
andthread-alias/unalias_thread.rb
. My workaround to silence the warnings (not sure if this is the best way):alias_thread.rb:
unalias_thread.rb: