xref: /unit/pkg/rpm/rpmbuild/SOURCES/unit.example-ruby-app (revision 600:694767e0b8c9)
1*600Sdefan@nginx.comapp = Proc.new do |env|
2*600Sdefan@nginx.com    ['200', {
3*600Sdefan@nginx.com        'Content-Type' => 'text/plain',
4*600Sdefan@nginx.com    }, ["Hello from Unit running with Ruby #{RUBY_VERSION}!\n\n"]]
5*600Sdefan@nginx.comend
6*600Sdefan@nginx.com
7*600Sdefan@nginx.comrun app
8