Method: ActiveSupport::Notifications::Event#parent_of?
- Defined in:
- lib/active_support/notifications/instrumenter.rb
#parent_of?(event) ⇒ Boolean
88 89 90 |
# File 'lib/active_support/notifications/instrumenter.rb', line 88 def parent_of?(event) @children.include? event end |