Class: Peck::Notifiers::Base

Inherits:
Object
  • Object
show all
Includes:
BacktraceCleaning
Defined in:
lib/peck/notifiers/base.rb

Direct Known Subclasses

Default

Defined Under Namespace

Modules: BacktraceCleaning

Constant Summary

Constants included from BacktraceCleaning

BacktraceCleaning::ANONYMOUS_BLOCK_RE, BacktraceCleaning::PECK_PATH

Class Method Summary collapse

Methods included from BacktraceCleaning

#clean_backtrace

Class Method Details

.useObject



27
28
29
30
31
32
33
34
# File 'lib/peck/notifiers/base.rb', line 27

def self.use
  @instance ||= begin
    notifier = new
    notifier.install_at_exit
    Peck.delegates << notifier
    notifier
  end
end