Class: Net::DNS::RR::MX

Inherits:
Object
  • Object
show all
Defined in:
lib/domain-probe/resolver_patch.rb

Instance Method Summary collapse

Instance Method Details

#to_hash(zone) ⇒ Object



89
90
91
# File 'lib/domain-probe/resolver_patch.rb', line 89

def to_hash zone
  super(zone).merge({:exchange => remove_trailing_dot_if_any(exchange),:preference => preference.to_s})
end