call Class#inherited when Class.new(klass)

> $ ruby -e 'class Foo;def self.inherited(subclass);p subclass;end;end;Class.new(Foo)'
> #&lt;Class:0x00000000a2f210&gt;
> $ bin/mruby -e 'class Foo;def self.inherited(subclass);p subclass;end;end;Class.new(Foo)'
> $