# File lib/rethtool/link_status.rb, line 15 def initialize(interface) cmd = Rethtool::EthtoolValue.new cmd.cmd = Rethtool::ETHTOOL_CMD_GSET @status = Rethtool.ioctl(interface, cmd).value end