Sha256: bf60bc9e33b6738261e4bfdc53524e81716445d79cc7e41490a1ce1024157fe8

Contents?: true

Size: 630 Bytes

Versions: 16

Compression:

Stored size: 630 Bytes

Contents

#          Copyright (c) 2008 Michael Fellinger m.fellinger@gmail.com
# All files in this distribution are subject to the terms of the Ruby license.

module Ramaze
  Global.test_connections = false

  module Adapter
    # Our CGI adapter acts as wrapper for the Rack::Handler::CGI.
    class Cgi < Base

      # 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 self.startup(host = nil, port = nil)
        Global.server=self
        Thread.new{ Rack::Handler::CGI.run(self) }
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 4 rubygems

Version Path
Pistos-ramaze-2008.09 lib/ramaze/adapter/cgi.rb
Pistos-ramaze-2008.12 lib/ramaze/adapter/cgi.rb
Pistos-ramaze-2009.01 lib/ramaze/adapter/cgi.rb
Pistos-ramaze-2009.02 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2008.07 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2008.08 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2008.09 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2008.10 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2008.12 lib/ramaze/adapter/cgi.rb
manveru-ramaze-2009.01 lib/ramaze/adapter/cgi.rb
ptomato-ramaze-2009.02.1 lib/ramaze/adapter/cgi.rb
ptomato-ramaze-2009.02 lib/ramaze/adapter/cgi.rb
ramaze-2008.11 lib/ramaze/adapter/cgi.rb
ramaze-2009.01 lib/ramaze/adapter/cgi.rb
ramaze-2009.03 lib/ramaze/adapter/cgi.rb
ramaze-2009.02 lib/ramaze/adapter/cgi.rb