= private = protected
new(priority, weight, port, target)
Create a SRV resource record.
# File lib/resolv.rb, line 1731 def initialize(priority, weight, port, target) @priority = priority.to_int @weight = weight.to_int @port = port.to_int @target = Name.create(target) end