getting hostname from ruby



Is there a cleaner way to get the host name from ruby other than
`hostname`?

phil

--
Posted via http://www.ruby-forum.com/.


.



Relevant Pages

  • Particle Swarm Optimizer in Ruby?
    ... Does anyone have a Particle Swarm Optimization package written in Ruby? ... Phil ... Prev by Date: ...
    (comp.lang.ruby)
  • RubyGems in 1.8.3?
    ... Will RubyGems be included as standard equipment in the Ruby 1.8.3 release? ... Phil ... Prev by Date: ...
    (comp.lang.ruby)
  • Re: Problem with Whys Poignants guide code..help
    ... Here's something that works if you define things in terms of a Ruby ... 'starmonkeys' => 'Phil and Pete, ... # Save the jibberish to a new file ...
    (comp.lang.ruby)
  • Re: Problem with Whys Poignants guide code..help
    ... Here's something that works if you define things in terms of a Ruby ... 'starmonkeys' => 'Phil and Pete, ... # Save the jibberish to a new file ...
    (comp.lang.ruby)
  • Re: how do i do this ?
    ... >> i'm trying to use vlookup to search a list of equipment and ... >> to find it is in the first column so i would like to merge the ... Prev by Date: ...
    (microsoft.public.excel.worksheet.functions)