Class: Inspec::Resources::InterfaceInfo

Inherits:
Object
  • Object
show all
Includes:
Converter
Defined in:
lib/inspec/resources/interface.rb

Direct Known Subclasses

BsdInterface, LinuxInterface, WindowsInterface

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Converter

#convert_to_i

Constructor Details

#initialize(inspec) ⇒ InterfaceInfo

Returns a new instance of InterfaceInfo.



105
106
107
# File 'lib/inspec/resources/interface.rb', line 105

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



104
105
106
# File 'lib/inspec/resources/interface.rb', line 104

def inspec
  @inspec
end