Sha256: b1507cd97f9e7fa61678ef081d627320ab3eecf250504c69b4f2ccbf48cb6c08
Contents?: true
Size: 357 Bytes
Versions: 15
Compression:
Stored size: 357 Bytes
Contents
module Kernel def context(name, &block) context = Spec::Runner::Context.new(name, &block) runner = context_runner runner.add_context(context) runner.run(false) if runner.standalone end private def context_runner $context_runner ||= ::Spec::Runner::OptionParser.create_context_runner(ARGV.dup, true, STDERR, STDOUT) end end
Version data entries
15 entries across 15 versions & 1 rubygems