# 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).