class ActiveSupport::Notifications::InstrumenterTest::TestNotifier

Attributes

finishes[R]
starts[R]

Public Class Methods

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

Public Instance Methods

finish(*args) click to toggle source
# File activesupport/test/notifications/instrumenter_test.rb, line 18
def finish(*args); @finishes << args; end
start(*args) click to toggle source
# File activesupport/test/notifications/instrumenter_test.rb, line 17
def start(*args);  @starts << args; end