method

get_hosts_path

ruby latest stable - Class: Win32::Resolv

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_9_3_392) is shown here.

get_hosts_path()
public

No documentation available.

# File ext/dl/win32/lib/win32/resolv.rb, line 13
    def self.get_hosts_path
      path = get_hosts_dir
      path = File.expand_path('hosts', path)
      File.exist?(path) ? path : nil
    end