# 'cheat assertions' for the rest assert_instance_of(klass, object, message="") Passes if object .instance_of? klass Example: assert_instance_of String, 'foo'
cheat sheets.
$ cheat assert_instance_of$ cheat assert_instance_of# 'cheat assertions' for the rest assert_instance_of(klass, object, message="") Passes if object .instance_of? klass Example: assert_instance_of String, 'foo'