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.



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

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



95
96
97
# File 'lib/inspec/resources/interface.rb', line 95

def inspec
  @inspec
end