1app = Proc.new do |env| 2 file = File.open('file', 'r') 3 ['200', {'Content-Length' => '5'}, file] 4end 5 6run app 7