Re: getting hostname from ruby


#1

phil

require “socket”
Socket.gethostname

Regards,

Dan