On Thu, Oct 20, 2011 at 4:47 PM, Joe Fl <[email protected]> wrote:
> This is a ruby question but how do I get the name of my MAC using
> ruby.

$ irb
> `scutil --get ComputerName`
 => "mac\n"

My macnine name is "mac".

Željko
--
watir.com - community manager
watir.com/book - author
watirpodcast.com - host

-- 
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