Sha256: f008658b599a8a1bee763c9afdbcd416773fcf4eb45a4f3fb7574fed011618d4
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
require "rack/logs/version" if RUBY_VERSION.to_f < 2 require 'rack/logs/backport' end module Rack module Logs module_function autoload 'Viewer', 'rack/logs/viewer' autoload 'Config', 'rack/logs/config' def configure Rack::Logs::Viewer.new Config.new.tap { |c| yield c } end def call env configure {}.call env end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rack-logs-0.1.0 | lib/rack/logs.rb |