Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #528 from krekoten/object_instance_of
Object##instance_of? raises a TypeError
- Loading branch information
Showing with 5 additions and 2 deletions.
|@@ -1,2 +1 @@|
|fails:Object##instance_of? returns true if given class is object's class|
|fails:Object##instance_of? raises a TypeError if given an object that is not a Class nor a Module|