Sha256: f1b880d75a548911b77a4f3252ddc34a8664ce50820a930db611e5a94c2eb14f

Contents?: true

Size: 305 Bytes

Versions: 5

Compression:

Stored size: 305 Bytes

Contents

# frozen_string_literal: true

require_relative '../daemon'

module Puma
  module Daemon
    class CLI
      attr_accessor :argv, :cli

      def initialize(argv = ARGV)
        self.argv = argv
        self.cli = ::Puma::CLI.new(argv)
      end

      def run
        cli.run
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
puma-daemon-0.5.0 lib/puma/daemon/cli.rb
puma-daemon-0.3.2 lib/puma/daemon/cli.rb
puma-daemon-0.3.0 lib/puma/daemon/cli.rb
puma-daemon-0.2.3 lib/puma/daemon/cli.rb
puma-daemon-0.2.2 lib/puma/daemon/cli.rb