summaryrefslogblamecommitdiffhomepage
path: root/test/ruby/constants/config.ru
blob: e0951bf42c1bce38345df741f8d9ef9e366c4e83 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15














                                                  
app = Proc.new do |env|
    ['200', {
        'X-Copyright' => RUBY_COPYRIGHT,
        'X-Description' => RUBY_DESCRIPTION,
        'X-Engine' => RUBY_ENGINE,
        'X-Engine-Version' => RUBY_ENGINE_VERSION,
        'X-Patchlevel' => RUBY_PATCHLEVEL.to_s,
        'X-Platform' => RUBY_PLATFORM,
        'X-Release-Date' => RUBY_RELEASE_DATE,
        'X-Revision' => RUBY_REVISION.to_s,
        'X-Version' => RUBY_VERSION,
    }, []]
end

run app