instance method
start
Ruby on Rails 4.0.13
Since v4.0.13 Last seen in v7.0.10Signature
start(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/subscriber.rb, line 53
def start(name, id, payload)
e = ActiveSupport::Notifications::Event.new(name, Time.now, nil, id, payload)
parent = event_stack.last
parent << e if parent
event_stack.push e
end
Defined in activesupport/lib/active_support/subscriber.rb line 53
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Subscriber