Sha256: 89e7676584743fb8f7acb91a87154aeecae02f08d4f0f7a2dd4889fecdb1264d

Contents?: true

Size: 247 Bytes

Versions: 11

Compression:

Stored size: 247 Bytes

Contents

# encoding:utf-8
module LocalPac
  class Server

    private

    attr_reader :command

    public

    def initialize(command = ServerCommands::Rackup.new)
      @command = command
    end

    def start
      exec command.to_s
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
local_pac-0.10.2 lib/local_pac/server.rb
local_pac-0.10.1 lib/local_pac/server.rb
local_pac-0.10.0 lib/local_pac/server.rb
local_pac-0.9.0 lib/local_pac/server.rb
local_pac-0.7.0 lib/local_pac/server.rb
local_pac-0.6.3 lib/local_pac/server.rb
local_pac-0.6.2 lib/local_pac/server.rb
local_pac-0.6.1 lib/local_pac/server.rb
local_pac-0.5.0 lib/local_pac/server.rb
local_pac-0.4.0 lib/local_pac/server.rb
local_pac-0.3.0 lib/local_pac/server.rb