Method: QRPC::Locator#initialize
- Defined in:
- lib/qrpc/locator.rb
#initialize(queue, host = "localhost", port = 11300) ⇒ Locator
Constructor.
60 61 62 63 64 |
# File 'lib/qrpc/locator.rb', line 60 def initialize(queue, host = "localhost", port = 11300) @queue = queue.to_s @host = host @port = port end |