Module: Maxitest
- Defined in:
- lib/maxitest/vendor/testrbl.rb,
lib/maxitest.rb,
lib/maxitest/trap.rb,
lib/maxitest/version.rb
Overview
raw.githubusercontent.com/grosser/testrbl/master/lib/testrbl.rb BEGIN generated by rake update, do not modify
Defined Under Namespace
Modules: Testrbl
Constant Summary collapse
- Interrupted =
Class.new(StandardError)
- VERSION =
"0.0.2"
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 |