Mark Volkmann
7/17/2005 2:18:00 PM
How can I get the host name for the machine I'm running on from Ruby code?
I don't want to exec a Unix command to do this because I want it to
also work under Windows.
I want this for building a server URL that I'll be using with drb.
I don't want to hardcode a host name.
--
R. Mark Volkmann
Partner, Object Computing, Inc.