Closed jthoenes closed 12 years ago
By using 'Resolv::Hosts::DefaultFileName' instead of using hard-coded '/etc/hosts' we support all operating systems. Mainly introduced to support Windows OS.
Excellent. I didn't even think to look for a stdlib solution for this. Great work!
By using 'Resolv::Hosts::DefaultFileName' instead of using hard-coded '/etc/hosts' we support all operating systems. Mainly introduced to support Windows OS.