Class: Sentry::Interface
- Inherits:
-
Object
- Object
- Sentry::Interface
- Defined in:
- lib/sentry/interface.rb
Direct Known Subclasses
ExceptionInterface, Mechanism, RequestInterface, SingleExceptionInterface, StacktraceInterface::Frame
Instance Method Summary collapse
Instance Method Details
#to_hash ⇒ Hash
6 7 8 |
# File 'lib/sentry/interface.rb', line 6 def to_hash Hash[instance_variables.map { |name| [name[1..-1].to_sym, instance_variable_get(name)] }] end |