Module: NewRelic::Security::Instrumentation::Padrino::PathRouter::Router::Prepend

Includes:
NewRelic::Security::Instrumentation::Padrino::PathRouter::Router
Defined in:
lib/newrelic_security/instrumentation-security/padrino/prepend.rb

Instance Method Summary collapse

Methods included from NewRelic::Security::Instrumentation::Padrino::PathRouter::Router

#call_on_enter, #call_on_exit

Instance Method Details

#call(env, &block) ⇒ Object



9
10
11
12
13
# File 'lib/newrelic_security/instrumentation-security/padrino/prepend.rb', line 9

def call(env, &block)
  retval = nil
  event = call_on_enter(env) { retval = super }
  call_on_exit(event, retval) { return retval }
end