Method: LinuxAdmin::NetworkInterface#gateway
- Defined in:
- lib/linux_admin/network_interface.rb
#gateway ⇒ String
Retrieve the IPv4 default gateway associated with the interface
129 130 131 |
# File 'lib/linux_admin/network_interface.rb', line 129 def gateway @network_conf[:gateway4] end |