= private = protected
new(preference, exchange)
Creates a new MX record with preference, accepting mail at exchange.
# File lib/resolv.rb, line 1948 def initialize(preference, exchange) @preference = preference @exchange = exchange end