Use Class#kind_of? instead of ==
Test the object not the class duhhh
Merge pull request #33 from todb-r7/kind-of-pr2915

Use Class#kind_of? instead of ==