require "socket"
Socket.gethostname
Regards,
Dan
···
-----Original Message-----
From: list-bounce@example.com
[mailto:list-bounce@example.com] On Behalf Of phil swenson
Sent: Tuesday, January 31, 2006 8:14 AM
To: ruby-talk ML
Subject: getting hostname from rubyIs there a cleaner way to get the host name from ruby other than
`hostname`?phil