Class: SeeingIsBelieving::HardCoreEnsure
- Inherits:
-
Object
- Object
- SeeingIsBelieving::HardCoreEnsure
- Defined in:
- lib/seeing_is_believing/hard_core_ensure.rb
Class Method Summary collapse
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(options) ⇒ HardCoreEnsure
constructor
A new instance of HardCoreEnsure.
Constructor Details
#initialize(options) ⇒ HardCoreEnsure
Returns a new instance of HardCoreEnsure.
7 8 9 10 |
# File 'lib/seeing_is_believing/hard_core_ensure.rb', line 7 def initialize() self. = end |
Class Method Details
.call(options) ⇒ Object
3 4 5 |
# File 'lib/seeing_is_believing/hard_core_ensure.rb', line 3 def self.call() new().call end |
Instance Method Details
#call ⇒ Object
12 13 14 15 16 17 |
# File 'lib/seeing_is_believing/hard_core_ensure.rb', line 12 def call trap_sigint invoke_code ensure invoke_ensure end |