Sha256: c9cb8912e2173d9e52446d8233ec7073d158f62fd9ebfcf641bab727cc568e8c

Contents?: true

Size: 400 Bytes

Versions: 2

Compression:

Stored size: 400 Bytes

Contents

= macmap

Ever wanted to map your interface to an ip?

If you haven't, why not?

Alas, Macmap is here to help!

Usage is easy:

  Macmap.map_iface_to_ip %{ifconfig -a}

Or
  
  require "rubygems"
  require "popen3"
  
  Open3.popen3('ifconfig -a') { |stdin, stdout, stderr| Macmap.map_iface_to_ip(stdout) }  

Try it! It's fun
  
== Copyright

Copyright (c) 2009 Ari Lerner. See LICENSE for details.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
auser-macmap-0.0.1 README.rdoc
auser-macmap-0.0.2 README.rdoc