class Gem::Resolv::DNS::SvcParam::Mandatory - rubygems: Ruby Standard Library Documentation

# class Gem::Resolv::DNS::SvcParam::Mandatory

“mandatory” `SvcParam` – `Mandatory` keys in service binding RR

### Constants

KeyName
KeyNumber

### Attributes

keys[R]

`Mandatory` keys.

### Public Class Methods

new(keys) click to toggle source

Initialize “mandatory” ScvParam.

    # File rubygems/vendor/resolv/lib/resolv.rb, line 1903
    def initialize(keys)
      @keys = keys.map(&:to_int)
    end