Methods
F
N
P
S
Class Public methods
new(pattern, delegate)
# File activesupport/lib/active_support/notifications/fanout.rb, line 110
def initialize(pattern, delegate)
  @timestack = []
  super
end
Instance Public methods
finish(name, id, payload)
# File activesupport/lib/active_support/notifications/fanout.rb, line 123
def finish(name, id, payload)
  started = @timestack.pop
  @delegate.call(name, started, Time.now, id, payload)
end
publish(name, *args)
# File activesupport/lib/active_support/notifications/fanout.rb, line 115
def publish(name, *args)
  @delegate.call name, *args
end
start(name, id, payload)
# File activesupport/lib/active_support/notifications/fanout.rb, line 119
def start(name, id, payload)
  @timestack.push Time.now
end