Class: Inspec::Resources::Interfaces::InterfaceLister

Inherits:
Object
  • Object
show all
Defined in:
lib/inspec/resources/interfaces.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(inspec) ⇒ InterfaceLister

Returns a new instance of InterfaceLister.



69
70
71
# File 'lib/inspec/resources/interfaces.rb', line 69

def initialize(inspec)
  @inspec = inspec
end

Instance Attribute Details

#inspecObject (readonly)

Returns the value of attribute inspec.



68
69
70
# File 'lib/inspec/resources/interfaces.rb', line 68

def inspec
  @inspec
end