Sha256: a22e9f05172cef3eac5c3d4111d598a1e64d78a7e7f9292b278d4b9c3c5fac26
Contents?: true
Size: 553 Bytes
Versions: 6
Compression:
Stored size: 553 Bytes
Contents
# Copyright (c) 2006 Michael Fellinger m.fellinger@gmail.com # All files in this distribution are subject to the terms of the Ruby license. require 'ramaze/adapter' module Ramaze::Adapter class Cgi < Base class << self def start host, ports global = Ramaze::Global global.inform_to = :stderr if global.inform_to == $stdout run_server end def run_server Thread.new do Thread.current[:task] = :cgi Rack::Handler::CGI.run(self) end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems