class ActiveSupport::Notifications::EventedTest::Listener
Attributes
events[R]
Public Class Methods
new()
click to toggle source
# File activesupport/test/notifications/evented_notification_test.rb, line 11 def initialize @events = [] end
Public Instance Methods
finish(name, id, payload)
click to toggle source
# File activesupport/test/notifications/evented_notification_test.rb, line 19 def finish(name, id, payload) @events << [:finish, name, id, payload] end
start(name, id, payload)
click to toggle source
# File activesupport/test/notifications/evented_notification_test.rb, line 15 def start(name, id, payload) @events << [:start, name, id, payload] end