Object##instance_of? raises a TypeError if given an object that is not a Class nor a Module
Merge pull request #528 from krekoten/object_instance_of

Object##instance_of? raises a TypeError
simplify code
Merge branch 'master' into fibers