class Gem::Resolv::DNS::SvcParam::Port

“port” SvcParamPort for alternative endpoint

Constants

KeyName
KeyNumber

Attributes

port[R]

Port number.

Public Class Methods

new(port) click to toggle source

Initialize “port” ScvParam.

# File rubygems/vendor/resolv/lib/resolv.rb, line 1978
def initialize(port)
  @port = port.to_int
end