method
parent_of?
v3.2.1 -
Show latest stable
- Class:
ActiveSupport::Notifications::Event
parent_of?(event)public
No documentation available.
# File activesupport/lib/active_support/notifications/instrumenter.rb, line 47
def parent_of?(event)
start = (time - event.time) * 1000
start <= 0 && (start + duration >= event.duration)
end