Method: Net::DNS::RR::PX#new_from_hash
- Defined in:
- lib/Net/DNS/RR/PX.rb
#new_from_hash(values) ⇒ Object
86 87 88 89 90 91 92 93 94 95 96 |
# File 'lib/Net/DNS/RR/PX.rb', line 86 def new_from_hash(values) if values.has_key?(:preference) @preference = values[:preference] end if values.has_key?(:map822) @map822 = values[:map822] end if values.has_key?(:mapx400) @mapx400 = values[:mapx400] end end |