Module: TestBench::Session::Controls::Events::Aborted
- Defined in:
- lib/test_bench/session/controls/events/aborted.rb
Defined Under Namespace
Modules: Other
Class Method Summary collapse
- .example(message: nil, location: nil) ⇒ Object
- .location ⇒ Object
- .message ⇒ Object
- .other_example ⇒ Object
Class Method Details
.example(message: nil, location: nil) ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 |
# File 'lib/test_bench/session/controls/events/aborted.rb', line 6 def self.example(message: nil, location: nil) ||= self. location ||= self.location aborted = Session::Events::Aborted.new aborted. = aborted.location = location aborted. = Metadata.example aborted end |
.location ⇒ Object
24 25 26 |
# File 'lib/test_bench/session/controls/events/aborted.rb', line 24 def self.location Backtrace::Location.example end |