Sha256: f5c0a61131ce6b1394a15576932c230157e6dfe0bfc76e72878926aefea7f5ec
Contents?: true
Size: 655 Bytes
Versions: 2
Compression:
Stored size: 655 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 # Our CGI adapter acts as wrapper for the Rack::Handler::CGI. class Cgi < Base class << self # start CGI in a new thread, host and port parameter are only taken # to make it compatible with other adapters but have no influence and # can be omitted def start host = nil, ports = nil Thread.new do Thread.current[:task] = :cgi Rack::Handler::CGI.run(self) end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ramaze-0.2.0 | lib/ramaze/adapter/cgi.rb |
ramaze-0.2.1 | lib/ramaze/adapter/cgi.rb |