Class: RailsTracepointStack::Trace
- Inherits:
-
Object
- Object
- RailsTracepointStack::Trace
- Extended by:
- Forwardable
- Defined in:
- lib/rails_tracepoint_stack/trace.rb
Instance Attribute Summary collapse
-
#params ⇒ Object
readonly
Returns the value of attribute params.
-
#trace_point ⇒ Object
readonly
Returns the value of attribute trace_point.
Instance Method Summary collapse
-
#initialize(trace_point:) ⇒ Trace
constructor
A new instance of Trace.
Constructor Details
#initialize(trace_point:) ⇒ Trace
Returns a new instance of Trace.
14 15 16 |
# File 'lib/rails_tracepoint_stack/trace.rb', line 14 def initialize(trace_point:) @trace_point = trace_point end |
Instance Attribute Details
#params ⇒ Object (readonly)
Returns the value of attribute params.
7 8 9 |
# File 'lib/rails_tracepoint_stack/trace.rb', line 7 def params @params end |
#trace_point ⇒ Object (readonly)
Returns the value of attribute trace_point.
7 8 9 |
# File 'lib/rails_tracepoint_stack/trace.rb', line 7 def trace_point @trace_point end |