Sha256: fb34d426af0ece6c2a7348b194d0696396696135ebc2e6af7458ae31049cd178
Contents?: true
Size: 453 Bytes
Versions: 1
Compression:
Stored size: 453 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::Base", "sinatra/base", Sinatra::Probe.new) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skylight-2.0.0.beta3 | lib/skylight/probes/sinatra_add_middleware.rb |