Sha256: 5a1e21e61968560bfa5d9811a29165caca5f5169358799eeace14dbf2fa83bae
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
require 'raven/interfaces' module Raven class ExceptionInterface < Interface name 'exception' attr_accessor :values def to_hash(*args) data = super(*args) data[:values] = data[:values].map(&:to_hash) if data[:values] data end end register_interface :exception => ExceptionInterface end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sentry-raven-2.0.2 | lib/raven/interfaces/exception.rb |
sentry-raven-2.0.1 | lib/raven/interfaces/exception.rb |
sentry-raven-2.0.0 | lib/raven/interfaces/exception.rb |