module Minitest::Hooks
def self.included(mod)
module in the class that before(:all) and after(:all) methods
Add the class methods to the class. Also, include an additional
def self.included(mod) super mod.instance_exec do extend(Minitest::Hooks::ClassMethods) end end
def after_all
def after_all end
def around
def around yield end
def around_all
def around_all yield end
def before_all
def before_all end
def time_it
def time_it super do around do yield end end end