Exception: TestBench::Bootstrap::Abort

Inherits:
SystemExit
  • Object
show all
Defined in:
lib/test_bench/bootstrap.rb,
lib/test_bench/bootstrap.rb

Class Method Summary collapse

Class Method Details

.buildObject



9
10
11
# File 'lib/test_bench/bootstrap.rb', line 9

def self.build
  new(1)
end

.callObject



16
17
18
19
20
# File 'lib/test_bench/bootstrap.rb', line 16

def self.call
  Output.raw_write("#{Bootstrap} is aborting\n")
  instance = build
  raise instance
end