method

assert_kind_of

Importance_1
v1_8_7_330 - Show latest stable - 0 notes - Class: Test::Unit::Assertions
assert_kind_of(klass, object, message="") public

Passes if object .kind_of? klass

Example:

assert_kind_of Object, 'foo'
Show source
Register or log in to add new notes.