Sha256: 85136820896c54e88a88d120276e939ed831088cf4fa969e1440b2f70740c993

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

module Tracebin
  module Initializer
    class << self
      def start!
        if forking_server?
          # This will not work yet.
          Tracebin::Agent.start!
        else
          Tracebin::Agent.start!
        end
      end

      private

      def forking_server?
        defined? ::Puma
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tracebin-0.0.13 lib/tracebin/initializer.rb
tracebin-0.0.12 lib/tracebin/initializer.rb