class MiniTest::Unit::TestCase
def run_setup_hooks # :nodoc:
def run_setup_hooks # :nodoc: self.class.setup_hooks.each do |hook| if hook.respond_to?(:arity) && hook.arity == 1 hook.call(self) else hook.call end end end
def run_setup_hooks # :nodoc: self.class.setup_hooks.each do |hook| if hook.respond_to?(:arity) && hook.arity == 1 hook.call(self) else hook.call end end end