method

get_resolv_info

Importance_0
v1_9_3_392 - Show latest stable - 0 notes - Class: Resolv
get_resolv_info() public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File ext/dl/win32/lib/win32/resolv.rb, line 19
    def self.get_resolv_info
      search, nameserver = get_info
      if search.empty?
        search = nil
      else
        search.delete("")
        search.uniq!
      end
      if nameserver.empty?
        nameserver = nil
      else
        nameserver.delete("")
        nameserver.delete("0.0.0.0")
        nameserver.uniq!
      end
      [ search, nameserver ]
    end
Register or log in to add new notes.