A Ruby library that provides hostname and IP address information
C Ruby
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
doc
examples
ext
lib/windows/sys
test
CHANGES
MANIFEST
README
Rakefile
sys-host.gemspec

README

= Description
  An interface for getting host information.  

= Installation
  gem install sys-host

= You may not need this
  This library was one of my first ever, and was originally created largely
  as an exercise to learn C extensions with Ruby. However, in the many years
  that have passed since I first created it, most of its functionality has been
  rendered obsolete by continued extension of Ruby's builtin Socket library.

  Please check to see if the Socket library doesn't already do what you need
  before using this gem.
   
= Synopsis
  require 'sys/host'
  include Sys

  p Host.hostname
  p Host.ip_addr

  Host.info{ |h|
    p h
  }

= Documentation
  See the doc/host.txt file for more information.