Object##instance_of? raises a TypeError

Object##instance_of? raises a TypeError if given an object that is not a Class nor a Module