Method: Inspec::Resources::LsofPorts#initialize

Defined in:
lib/inspec/resources/port.rb

#initialize(inspec, lsofpath = nil) ⇒ LsofPorts

Returns a new instance of LsofPorts.



164
165
166
167
# File 'lib/inspec/resources/port.rb', line 164

def initialize(inspec, lsofpath = nil)
  @lsof = lsofpath || "lsof"
  super(inspec)
end