instance method
finish
Ruby on Rails 6.1.7.10
Since v4.0.13 Last seen in v7.0.10Signature
finish(name, id, payload)
No documentation comment.
Parameters
-
namereq -
idreq -
payloadreq
Source
# File activesupport/lib/active_support/subscriber.rb, line 144
def finish(name, id, payload)
event = event_stack.pop
event.finish!
event.payload.merge!(payload)
method = name.split(".").first
send(method, event)
end
Defined in activesupport/lib/active_support/subscriber.rb line 144
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Subscriber