Sha256: 2a8525b25256d2be364f8d47939490704dfa7efe99d3d50f57858beb90a5fd87

Contents?: true

Size: 470 Bytes

Versions: 2

Compression:

Stored size: 470 Bytes

Contents

# Interfacez
> Simplified network interfaces API

## Installation

    $ gem install interfacez

## Usage

```ruby
require 'interfacez'

Interfacez.default
# => "en0"

Interfacez.loopback
# => "lo0"

Interfacez.all do |interface|
  # do something with interface name
  puts interface
end

Interfacez.ipv4_address_of("en0")
# => "192.168.1.2"
```

## License

The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
interfacez-1.0.4 README.md
interfacez-1.0.3 README.md