Sha256: 7e54e023f6e823247d2b4edcaaee8f7858f9ffc6a7b41ce6b46ef0d927a1f143
Contents?: true
Size: 478 Bytes
Versions: 17
Compression:
Stored size: 478 Bytes
Contents
module Skylight module Probes module Sinatra class Probe def install class << ::Sinatra::Base alias build_without_sk build def build(*args, &block) self.use Skylight::Middleware build_without_sk(*args, &block) end end end end end Skylight::Core::Probes.register(:sinatra_add_middleware, "Sinatra::Base", "sinatra/base", Sinatra::Probe.new) end end
Version data entries
17 entries across 17 versions & 1 rubygems