class Notifications::TestSubscriber

Attributes

finishes[R]
publishes[R]
starts[R]

Public Class Methods

new() click to toggle source
# File activesupport/test/notifications_test.rb, line 104
def initialize
  @starts    = []
  @finishes  = []
  @publishes = []
end

Public Instance Methods

finish(*args) click to toggle source
# File activesupport/test/notifications_test.rb, line 111
def finish(*args); @finishes << args; end
publish(*args) click to toggle source
# File activesupport/test/notifications_test.rb, line 112
def publish(*args); @publishes << args; end
start(*args) click to toggle source
# File activesupport/test/notifications_test.rb, line 110
def start(*args);  @starts << args; end