Sha256: f9bda60495b0b2e422c39c8a745005b2b82d20c1c926acb961db12c49fc6ce37
Contents?: true
Size: 267 Bytes
Versions: 26
Compression:
Stored size: 267 Bytes
Contents
module Serverspec module Type class Interface < Base def speed ret = backend.run_command(commands.get_interface_speed_of(@name)) val = ret[:stdout].strip val = val.to_i if val.match(/^\d+$/) val end end end end
Version data entries
26 entries across 26 versions & 1 rubygems