How to find out “the machine’s network node hostname” in the ruby way?
Thanks in advance.
How to find out “the machine’s network node hostname” in the ruby way?
Thanks in advance.
require ‘socket’
puts Socket.gethostname
On Mon, Jan 06, 2003 at 09:00:23PM +0900, TOTO wrote:
How to find out “the machine’s network node hostname” in the ruby way?
–
Dalibor Sramek insula.cz | In the eyes of cats,
dalibor.sramek@insula.cz | all things belong to cats.