Sha256: 827ee79ba92e7110656867e24713cdf8c29f7cf4c1d56db04f00e59373862b2a

Contents?: true

Size: 264 Bytes

Versions: 7

Compression:

Stored size: 264 Bytes

Contents

# frozen_string_literal: true

require 'drb'
require 'drb/http0serv'
require 'drb/http0helper'

module UU
  class RemoteServer
    def initialize(uri)
      DRb.start_service(uri, UU::RemoteHelper.new)
    end

    def join
      DRb.thread.join
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
uu-0.2.2 lib/uu/remote_server.rb
uu-0.2.1 lib/uu/remote_server.rb
uu-0.2.0 lib/uu/remote_server.rb
uu-0.1.3 lib/uu/remote_server.rb
uu-0.1.2 lib/uu/remote_server.rb
uu-0.1.1 lib/uu/remote_server.rb
uu-0.1.0 lib/uu/remote_server.rb