Sha256: ab9815a29e77413176805f361155f4d53bd934a531b7782b1f5656d2167e2023

Contents?: true

Size: 194 Bytes

Versions: 6

Compression:

Stored size: 194 Bytes

Contents

module PipeRpc
  class Hub::Clients
    def initialize(hub)
      @hub = hub
      @clients = {}
    end

    def [](server)
      @clients[server] ||= Client.new(server, @hub)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
pipe_rpc-2.5.0 lib/pipe_rpc/hub_clients.rb
pipe_rpc-2.4.0 lib/pipe_rpc/hub_clients.rb
pipe_rpc-2.3.0 lib/pipe_rpc/hub_clients.rb
pipe_rpc-2.2.3 lib/pipe_rpc/hub_clients.rb
pipe_rpc-2.2.2 lib/pipe_rpc/hub_clients.rb
pipe_rpc-2.2.1 lib/pipe_rpc/hub_clients.rb