Method: Dnsruby::RR::NXT::NxtTypes.codes_to_names
- Defined in:
- lib/dnsruby/resource/NXT.rb
.codes_to_names(codes) ⇒ Object
For the given array of type codes, return an array of their corresponding names.
201 202 203 |
# File 'lib/dnsruby/resource/NXT.rb', line 201 def codes_to_names(codes) codes.map { |code| code_to_name(code) } end |