Hi,

At Fri, 21 Mar 2003 11:07:12 +0900,
Shashank Date wrote:
> # GetComputerName using Win32API
> 
> require 'Win32API'
> 
> def get_computer_name()

require 'socket'

p Socket.gethostname

-- 
Nobu Nakada