Method: Gem::Resolv::DNS::Resource::IN::SRV#weight
- Defined in:
- lib/rubygems/vendor/resolv/lib/resolv.rb
#weight ⇒ Object (readonly)
A server selection mechanism.
The weight field specifies a relative weight for entries with the same priority. Larger weights SHOULD be given a proportionately higher probability of being selected. The range of this number is 0-65535. Domain administrators SHOULD use Weight 0 when there isn’t any server selection to do, to make the RR easier to read for humans (less noisy). Note that it is not widely implemented and should be set to zero.
2784 2785 2786 |
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2784 def weight @weight end |