Method: OneApm::TransactionSample::Segment#find_segment
- Defined in:
- lib/one_apm/transaction/segment.rb
#find_segment(id) ⇒ Object
This is only for use by developer mode
159 160 161 162 163 164 165 166 |
# File 'lib/one_apm/transaction/segment.rb', line 159 def find_segment(id) return self if segment_id == id called_segments.each do |segment| found = segment.find_segment(id) return found if found end nil end |