Module: Maxitest
- Defined in:
- lib/maxitest/vendor/testrbl.rb,
lib/maxitest.rb,
lib/maxitest/trap.rb,
lib/maxitest/pending.rb,
lib/maxitest/version.rb,
lib/maxitest/implicit_subject.rb
Overview
this is a bit hacky / overwrites describe, so not included by default …
Defined Under Namespace
Modules: ImplicitSubject, Pending, Testrbl
Constant Summary collapse
- Interrupted =
Class.new(StandardError)
- VERSION =
"1.0.1"
Class Attribute Summary collapse
-
.interrupted ⇒ Object
Returns the value of attribute interrupted.
Class Method Summary collapse
Class Attribute Details
.interrupted ⇒ Object
Returns the value of attribute interrupted.
16 17 18 |
# File 'lib/maxitest/trap.rb', line 16 def interrupted @interrupted end |
Class Method Details
.interrupt ⇒ Object
18 19 20 21 |
# File 'lib/maxitest/trap.rb', line 18 def interrupt Maxitest.interrupted = true raise Maxitest::Interrupted, "Execution interrupted by user" end |