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 rescore(host, port, score)
      assert_host_info(host, port)
      raise 'Score can\'t be nil' if score.nil?
      raise 'Score has to be of type Integer' unless score.is_a?(Integer)
      if_present(host, port) { |r| r[:score] = score }
      unerror(host, port)
    end
def rescore ( host , port , score ) assert_host_info ( host , port ) raise 'Score can\'t be nil' if score . nil? raise 'Score has to be of type Integer' unless score . is_a? ( Integer ) if_present ( host , port ) { | r | r [ :score ] = score } unerror ( host , port ) 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>
score
<not_specific>