Sha256: 14c694ff0bd61a56f4822976e993c1072a2ebcb98c39ee4e8b8cf7633f62d00c
Contents?: true
Size: 335 Bytes
Versions: 2
Compression:
Stored size: 335 Bytes
Contents
module Deviant def self.exception(e, data = {}) client.store e.class.name, e.message, data end def self.method_missing(method, *args, &block) if args.length > 0 && method.to_s[-1] == '!' && respond_to?(method.to_s[0...-1]) send method.to_s[0...-1], *args, &block raise args.first end super end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
deviant-0.0.2 | lib/deviant/log.rb |
deviant-0.0.1 | lib/deviant/log.rb |