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

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

Instance Method Summary collapse

Instance Method Details

#record_typeObject



1476
1477
1478
# File 'lib/dns/zonefile/parser.rb', line 1476

def record_type
  "MX"
end

#to_sObject



1472
1473
1474
# File 'lib/dns/zonefile/parser.rb', line 1472

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