Class: Inspec::Resources::Interfaces::InterfaceLister
- Inherits:
-
Object
- Object
- Inspec::Resources::Interfaces::InterfaceLister
- Defined in:
- lib/inspec/resources/interfaces.rb
Direct Known Subclasses
BsdInterfaceLister, LinuxInterfaceLister, WindowsInterfaceLister
Instance Attribute Summary collapse
-
#inspec ⇒ Object
readonly
Returns the value of attribute inspec.
Instance Method Summary collapse
-
#initialize(inspec) ⇒ InterfaceLister
constructor
A new instance of InterfaceLister.
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
#inspec ⇒ Object (readonly)
Returns the value of attribute inspec.
68 69 70 |
# File 'lib/inspec/resources/interfaces.rb', line 68 def inspec @inspec end |