Sha256: 5e23530ca5a73d727065850e3979ae404c0776e4898d03674d1bff8629338b0e

Contents?: true

Size: 694 Bytes

Versions: 7

Compression:

Stored size: 694 Bytes

Contents

require "thin-turbo"

module Merb

  module Rack

    class ThinTurbo < Thin
      # start a Thin Turbo server on given host and port.

      # ==== Parameters
      # opts<Hash>:: Options for Thin Turbo (see below).
      #
      # ==== Options (opts)
      # :host<String>:: The hostname that Thin Turbo should serve.
      # :port<Fixnum>:: The port Thin Turbo should bind to.
      # :socket<Fixnum>>:: The socket number that thin should bind to.
      # :socket_file<String>>:: The socket file that thin should attach to.
      # :app<String>>:: The application name.
      def self.start(opts={})
        super(opts.merge(:backend => ::Thin::Backends::Turbo))
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 4 rubygems

Version Path
wycats-merb-core-0.9.8 lib/merb-core/rack/adapter/thin_turbo.rb
thorero-0.9.4.5 lib/merb-core/rack/adapter/thin_turbo.rb
merb-core-0.9.4 lib/merb-core/rack/adapter/thin_turbo.rb
merb-core-0.9.5 lib/merb-core/rack/adapter/thin_turbo.rb
merb-core-0.9.7 lib/merb-core/rack/adapter/thin_turbo.rb
merb-core-0.9.6 lib/merb-core/rack/adapter/thin_turbo.rb
thorero-core-0.9.4.6 lib/merb-core/rack/adapter/thin_turbo.rb