Hi,

This is a ruby question but how do I get the name of my MAC using
ruby.


I have found:

require 'socket'
puts Socket.gethostname

(not what I am looking for)

puts ENV["COMPUTERNAME"]

puts ENV['USERDOMAIN']
puts ENV['LOGONSERVER']

they all return nil

any help would be appreciated.

Thank you,
Joe

-- 
Before posting, please read http://watir.com/support. In short: search before 
you ask, be nice.

[email protected]
http://groups.google.com/group/watir-general
[email protected]

Reply via email to