# File lib/mongrel/cgi.rb, line 127 127: def out(options = "text/html", really_final=@default_really_final) 128: if @out_called || !really_final 129: # don't do it more than once or if it's not the really final call 130: return 131: end 132: 133: header(options) 134: 135: @response.start status do |head, body| 136: send_cookies(head) 137: 138: @head.each {|k,v| head[k] = v} 139: body.write(yield || "") 140: end 141: 142: @out_called = true 143: end