Module: Contrast::Framework::Rack::Patch::Support

Included in:
Support
Defined in:
lib/contrast/framework/rack/patch/support.rb

Overview

Extension point allowing for the registration of Patches required to support the Rack framework.

Instance Method Summary collapse

Instance Method Details

#after_load_patchesObject

(See BaseSupport#after_load_patches)



14
15
16
17
18
19
20
21
# File 'lib/contrast/framework/rack/patch/support.rb', line 14

def after_load_patches
  Set.new([
            Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
                'Rack::Session::Cookie',
                'contrast/framework/rack/patch/session_cookie',
                instrumenting_module: 'Contrast::Framework::Rack::Patch::SessionCookie')
          ])
end