Commit 2ad5e38639b10a9688c26f2b4c661cd3c5c862e3

bugfix backport from rbmodexcl

Commit diff

lib/strokedb/core_ext/object.rb

 
2323 if (mod == rb_mKernel)
2424 rb_raise(rb_eArgError, "unextending Kernel is prohibited");
2525
26 p = (TYPE(self) == T_CLASS) ? self : rb_singleton_class(self);
26 p = rb_singleton_class(self);
2727
2828 while (p) {
2929 if (p == mod || RCLASS(p)->m_tbl == RCLASS(mod)->m_tbl) {
toggle raw diff