Class: Net::DNS::RR::CNAME

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

Instance Method Summary collapse

Instance Method Details

#to_hash(zone) ⇒ Object



83
84
85
# File 'lib/domain-probe/resolver_patch.rb', line 83

def to_hash zone
  super(zone).merge({:cname => remove_trailing_dot_if_any(cname)})
end