class method
Win32::Resolv.get_hosts_path
get_hosts_path
ext/win32/lib/win32/resolv.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/ext/win32/lib/win32/resolv.rb, line 24
def self.get_hosts_path
path = get_hosts_dir
path = File.expand_path('hosts', path)
File.exist?(path) ? path : nil
end
No documentation available
See also
.get_hosts_dir
.get_info
.get_dns_server_list
.get_resolv_info
also in
3.4 · 3.3 · 3.2 · 3.1 · 3.0