Sha256: a63daf781b38d8f9d3ceb3d03c0a3bca125df004192313682f0edb6408e5e923

Contents?: true

Size: 249 Bytes

Versions: 20

Compression:

Stored size: 249 Bytes

Contents

# encoding:utf-8
module TestServer
  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

20 entries across 20 versions & 1 rubygems

Version Path
test_server-0.5.2 lib/test_server/server.rb
test_server-0.5.1 lib/test_server/server.rb
test_server-0.5.0 lib/test_server/server.rb
test_server-0.4.1 lib/test_server/server.rb
test_server-0.4.0 lib/test_server/server.rb
test_server-0.3.7 lib/test_server/server.rb
test_server-0.3.6 lib/test_server/server.rb
test_server-0.3.5 lib/test_server/server.rb
test_server-0.3.4 lib/test_server/server.rb
test_server-0.3.2 lib/test_server/server.rb
test_server-0.3.1 lib/test_server/server.rb
test_server-0.2.4 lib/test_server/server.rb
test_server-0.2.3 lib/test_server/server.rb
test_server-0.2.2 lib/test_server/server.rb
test_server-0.2.1 lib/test_server/server.rb
test_server-0.2.0 lib/test_server/server.rb
test_server-0.1.2 lib/test_server/server.rb
test_server-0.1.1 lib/test_server/server.rb
test_server-0.1.0 lib/test_server/server.rb
test_server-0.0.11 lib/test_server/server.rb