summaryrefslogblamecommitdiffhomepage
path: root/test/ruby/at_exit/config.ru
blob: 0e2c40c61143ab642fa4b1eadeb957f940b25226 (plain) (tree)
1
2
3
4
5
6
7
8







                                                
app = Proc.new do |env|
    at_exit do
      env['rack.errors'].puts('At exit called.')
    end
    ['200', {'Content-Length' => '0'}, ['']]
end

run app