Sha256: a540979f91f8503cc1ad1938c2b60fd3f5a27165b47515ca3f18589899ddf6fd

Contents?: true

Size: 447 Bytes

Versions: 24

Compression:

Stored size: 447 Bytes

Contents

# frozen_string_literal: true

module Sentry
  class Interface
    # @return [Hash]
    def to_hash
      Hash[instance_variables.map { |name| [name[1..-1].to_sym, instance_variable_get(name)] }]
    end
  end
end

require "sentry/interfaces/exception"
require "sentry/interfaces/request"
require "sentry/interfaces/single_exception"
require "sentry/interfaces/stacktrace"
require "sentry/interfaces/threads"
require "sentry/interfaces/mechanism"

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
sentry-ruby-core-5.22.2 lib/sentry/interface.rb
sentry-ruby-5.22.2 lib/sentry/interface.rb
sentry-ruby-core-5.22.1 lib/sentry/interface.rb
sentry-ruby-5.22.1 lib/sentry/interface.rb
sentry-ruby-5.22.0 lib/sentry/interface.rb
sentry-ruby-core-5.22.0 lib/sentry/interface.rb
sentry-ruby-5.21.0 lib/sentry/interface.rb
sentry-ruby-core-5.21.0 lib/sentry/interface.rb
sentry-ruby-5.20.1 lib/sentry/interface.rb
sentry-ruby-core-5.20.1 lib/sentry/interface.rb
sentry-ruby-5.20.0 lib/sentry/interface.rb
sentry-ruby-core-5.20.0 lib/sentry/interface.rb
sentry-ruby-core-5.19.0 lib/sentry/interface.rb
sentry-ruby-5.19.0 lib/sentry/interface.rb
sentry-ruby-core-5.18.2 lib/sentry/interface.rb
sentry-ruby-5.18.2 lib/sentry/interface.rb
sentry-ruby-core-5.18.1 lib/sentry/interface.rb
sentry-ruby-5.18.1 lib/sentry/interface.rb
sentry-ruby-5.18.0 lib/sentry/interface.rb
sentry-ruby-core-5.18.0 lib/sentry/interface.rb