module Errordite
Constants
- VERSION
Public Class Methods
config()
click to toggle source
# File lib/errordite.rb, line 10 def config @config ||= Config.new end
config=(config)
click to toggle source
# File lib/errordite.rb, line 14 def config=(config) @config = config end
method_missing(method, *args)
click to toggle source
Calls superclass method
# File lib/errordite.rb, line 18 def method_missing(method, *args) if config.respond_to?(method) config.__send__ method, *args else super end end
monitor(context = {}) { || ... }
click to toggle source
# File lib/errordite.rb, line 26 def monitor(context = {}) yield rescue Exception => e client.record e, context raise e end