module Minitest::Assertions
def refute_respond_to obj, meth, msg = nil, include_all: false
def refute_respond_to obj, meth, msg = nil, include_all: false msg = message(msg) { "Expected #{mu_pp(obj)} to not respond to #{meth}" } refute obj.respond_to?(meth, include_all), msg end