Module: Contrast::Framework::Sinatra::Patch::Support

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

Overview

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

Instance Method Summary collapse

Instance Method Details

#after_load_patchesObject

(See BaseSupport#after_load_patches)



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

def after_load_patches
  Set.new([
            Contrast::Agent::Patching::Policy::AfterLoadPatch.new(
                'Sinatra::Base',
                'contrast/framework/sinatra/patch/base',
                method_to_instrument: nil,
                instrumenting_module: 'Contrast::Framework::Sinatra::Patch::Base')
          ])
end