Flowdock
method

get_hosts_path

Importance_0
Ruby latest stable (v2_5_5) - 0 notes - Class: 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

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 13
    def self.get_hosts_path
      path = get_hosts_dir
      path = File.expand_path('hosts', path)
      File.exist?(path) ? path : nil
    end
Register or log in to add new notes.