Module: TraceViz::Traits::DepthTrackable
- Included in:
- TraceViz::TraceData::Base
- Defined in:
- lib/trace_viz/traits/depth_trackable.rb
Instance Attribute Summary collapse
-
#depth ⇒ Object
readonly
Returns the value of attribute depth.
Instance Method Summary collapse
Instance Attribute Details
#depth ⇒ Object (readonly)
Returns the value of attribute depth.
6 7 8 |
# File 'lib/trace_viz/traits/depth_trackable.rb', line 6 def depth @depth end |
Instance Method Details
#assign_depth(depth) ⇒ Object
8 9 10 |
# File 'lib/trace_viz/traits/depth_trackable.rb', line 8 def assign_depth(depth) @depth = depth end |