Class: Inspec::Resources::InterfaceInfo

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

Direct Known Subclasses

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.



98
99
100
# File 'lib/inspec/resources/interface.rb', line 98

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



97
98
99
# File 'lib/inspec/resources/interface.rb', line 97

def inspec
  @inspec
end