# File lib/dnsruby/resolver.rb, line 679 def Resolver.get_ports_from(p) a = [] if p.is_a?(Integer) a = [p] else p.each do |x| a.push(x) end end a end