bjeanes / ghost

Create, list, delete, and modify /etc/hosts entries with ease...
MIT License
732 stars 44 forks source link

Introduce support for different operating systems. #36

Closed jthoenes closed 12 years ago

jthoenes commented 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.

bjeanes commented 12 years ago

Excellent. I didn't even think to look for a stdlib solution for this. Great work!