Class: Protoplasm::BlockingClient

Inherits:
Object
  • Object
show all
Defined in:
lib/protoplasm/client/blocking_client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(_types, host, port) ⇒ BlockingClient

Returns a new instance of BlockingClient.



7
8
9
# File 'lib/protoplasm/client/blocking_client.rb', line 7

def initialize(_types, host, port)
  @_types, @host, @port = _types, host, port
end

Instance Attribute Details

#_typesObject (readonly)

Returns the value of attribute _types.



5
6
7
# File 'lib/protoplasm/client/blocking_client.rb', line 5

def _types
  @_types
end