lib/zold/remotes.rb
# The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use .
def exists?(host, port = PORT)
      assert_host_info(host, port)
      list = Futex.new(@file).open(false) { load }
      !list.find { |r| r[:host] == host.downcase && r[:port] == port }.nil?
    end
def exists? ( host , port = PORT ) assert_host_info ( host , port ) list = Futex . new ( @file ) . open ( false ) { load } ! list . find { | r | r [ :host ] == host . downcase && r [ :port ] == port } . nil? end
The default TCP port all nodes are supposed to use.
The default TCP port all nodes are supposed to use .
host
<not_specific>
port
<not_specific>