Class: ExceptionNotifier::SquashNotifier

Inherits:
Object
  • Object
show all
Defined in:
lib/exception_notifier/squash_notifier/base.rb,
lib/exception_notifier/squash_notifier/version.rb

Defined Under Namespace

Classes: BaseNotifier, SquashRailsNotifier, SquashRubyNotifier

Constant Summary collapse

VERSION =
"0.1.2"

Class Method Summary collapse

Class Method Details

.new(*args, &p) ⇒ Object



8
9
10
11
# File 'lib/exception_notifier/squash_notifier/base.rb', line 8

def self.new(*args, &p)
  return SquashRailsNotifier.new(*args, &p) if self.enable_rails && defined? Rails
  SquashRubyNotifier.new(*args, &p)
end