class 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 lib/resolv.rb, line 1966
def initialize(port)
  @port = port.to_int
end