# File lib/minitest/spec.rb, line 96 def self.before(type = :each, &block) raise "unsupported before type: #{type}" unless type == :each define_inheritable_method :setup, &block end