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, to_boolean

Constructor Details

#initialize(inspec) ⇒ InterfaceInfo

Returns a new instance of InterfaceInfo.



109
110
111
# File 'lib/inspec/resources/interface.rb', line 109

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



108
109
110
# File 'lib/inspec/resources/interface.rb', line 108

def inspec
  @inspec
end