From: Glen Holcomb Date: 2008-04-16T05:54:59+09:00 Subject: Re: Is there a way to obtain the computer name using ruby? ------=_Part_38299_30097553.1208292899293 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline On Tue, Apr 15, 2008 at 2:48 PM, Mike Johnson wrote: > Hi, all > > I am using ruby with watir to make some small scripts. I want to obtain > the name of the computer where my script is running from. Is there a > way to obtain the computer name using ruby? > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > Socket.gethostname -- "Hey brother Christian with your high and mighty errand, Your actions speak so loud, I can't hear a word you're saying." -Greg Graffin (Bad Religion) ------=_Part_38299_30097553.1208292899293--