Class: Raven::ExceptionInterface
- Defined in:
- lib/raven/interfaces/exception.rb
Instance Attribute Summary collapse
-
#values ⇒ Object
Returns the value of attribute values.
Instance Method Summary collapse
Methods inherited from Interface
Constructor Details
This class inherits a constructor from Raven::Interface
Instance Attribute Details
#values ⇒ Object
Returns the value of attribute values.
6 7 8 |
# File 'lib/raven/interfaces/exception.rb', line 6 def values @values end |
Instance Method Details
#to_hash(*args) ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/raven/interfaces/exception.rb', line 8 def to_hash(*args) data = super(*args) if data[:values] data[:values] = data[:values].map(&:to_hash) end data end |