Mail Exchanger resource.
Constants
No documentation available
Attributes
Read
The preference for this MX
.
Class Methods
lib/resolv.rb
View on GitHub
# File tmp/rubies/ruby-3.3.0/lib/resolv.rb, line 2389
def initialize(preference, exchange)
@preference = preference
@exchange = exchange
end
Creates a new MX
record with preference
, accepting mail at exchange
.