Module: DNS::Zonefile::ZonefileGrammar::MxRecord1

Defined in:
lib/dns/zonefile/parser.rb

Instance Method Summary collapse

Instance Method Details

#record_typeObject



1559
1560
1561
# File 'lib/dns/zonefile/parser.rb', line 1559

def record_type
  "MX"
end

#to_sObject



1555
1556
1557
# File 'lib/dns/zonefile/parser.rb', line 1555

def to_s
  "#{host} #{ttl} #{klass} MX #{priority} #{exchanger}"
end