Exception: TestBench::Bootstrap::AssertionFailure
- Inherits:
-
RuntimeError
- Object
- RuntimeError
- TestBench::Bootstrap::AssertionFailure
- Defined in:
- lib/test_bench/bootstrap.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.build(frame_index = nil) ⇒ Object
18 19 20 21 22 23 24 25 26 |
# File 'lib/test_bench/bootstrap.rb', line 18 def self.build(frame_index=nil) frame_index ||= 0 frame = Backtrace.frame(frame_index) instance = new instance.set_backtrace([frame]) instance end |
Instance Method Details
#message ⇒ Object
28 29 30 |
# File 'lib/test_bench/bootstrap.rb', line 28 def "Assertion failed" end |