class Rack::Pratchett
Constants
- VERSION
Public Class Methods
new(app)
click to toggle source
# File lib/rack/pratchett.rb, line 3 def initialize(app) @app = app end
Public Instance Methods
call(env)
click to toggle source
# File lib/rack/pratchett.rb, line 7 def call(env) result = @app.call(env) result[1]['X-Clacks-Overhead'.freeze] = 'GNU Terry Pratchett'.freeze result end