This method is deprecated or moved on the latest stable version.
The last existing version (v2_1_10) is shown here.
refute_instance_of(cls, obj, msg = nil)
public
Fails if obj is an instance of cls.
# File lib/minitest/unit.rb, line 633
def refute_instance_of cls, obj, msg = nil
msg = message(msg) {
"Expected #{mu_pp(obj)} to not be an instance of #{cls}"
}
refute obj.instance_of?(cls), msg
end