module Minitest::Hooks::ClassMethods

def around(type=nil, &block)

If type is :all, set the around_all hook, otherwise set the around hook.
def around(type=nil, &block)
  meth = type == :all ? :around_all : :around
  define_method(meth, &block)
end