xref: /unit/pkg/deb/debian.module/unit.example-ruby-app (revision 600:694767e0b8c9)
1app = Proc.new do |env|
2    ['200', {
3        'Content-Type' => 'text/plain',
4    }, ["Hello from Unit running with Ruby #{RUBY_VERSION}!\n\n"]]
5end
6
7run app
8