Module: RakeExceptionHook
- Defined in:
- lib/rake_exception_hook.rb
Constant Summary collapse
- VERSION =
"3.14"- @@start_hook =
nil- @@finish_hook =
nil- @@except_hook =
nil
Class Method Summary collapse
- .except(&block) ⇒ Object
- .except_hook ⇒ Object
- .finish(&block) ⇒ Object
- .finish_hook ⇒ Object
- .start(&block) ⇒ Object
- .start_hook ⇒ Object
Class Method Details
.except(&block) ⇒ Object
15 16 17 |
# File 'lib/rake_exception_hook.rb', line 15 def self.except &block @@except_block = block end |
.except_hook ⇒ Object
27 28 29 |
# File 'lib/rake_exception_hook.rb', line 27 def self.except_hook @@except_block end |
.finish(&block) ⇒ Object
11 12 13 |
# File 'lib/rake_exception_hook.rb', line 11 def self.finish &block @@finish_block = block end |
.finish_hook ⇒ Object
23 24 25 |
# File 'lib/rake_exception_hook.rb', line 23 def self.finish_hook @@finish_block end |
.start(&block) ⇒ Object
7 8 9 |
# File 'lib/rake_exception_hook.rb', line 7 def self.start &block @@start_block = block end |
.start_hook ⇒ Object
19 20 21 |
# File 'lib/rake_exception_hook.rb', line 19 def self.start_hook @@start_block end |