Class: Rollbar::Notifier::TraceWithBindings
- Inherits:
-
Object
- Object
- Rollbar::Notifier::TraceWithBindings
- Defined in:
- lib/rollbar/notifier/trace_with_bindings.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#exception_frames ⇒ Object
readonly
Returns the value of attribute exception_frames.
-
#frames ⇒ Object
readonly
Returns the value of attribute frames.
Instance Method Summary collapse
- #disable ⇒ Object
- #enable ⇒ Object
-
#initialize ⇒ TraceWithBindings
constructor
A new instance of TraceWithBindings.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ TraceWithBindings
Returns a new instance of TraceWithBindings.
6 7 8 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 6 def initialize reset end |
Instance Attribute Details
#exception_frames ⇒ Object (readonly)
Returns the value of attribute exception_frames.
4 5 6 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 4 def exception_frames @exception_frames end |
#frames ⇒ Object (readonly)
Returns the value of attribute frames.
4 5 6 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 4 def frames @frames end |
Instance Method Details
#disable ⇒ Object
21 22 23 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 21 def disable trace_point.disable if defined?(TracePoint) end |
#enable ⇒ Object
16 17 18 19 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 16 def enable reset trace_point.enable if defined?(TracePoint) end |
#reset ⇒ Object
10 11 12 13 14 |
# File 'lib/rollbar/notifier/trace_with_bindings.rb', line 10 def reset @frames = [] @exception_frames = [] @exception_signature = nil end |