Method: Inspec::Resources::Ksh#initialize

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

#initialize(command, options = {}) ⇒ Ksh

Returns a new instance of Ksh.



23
24
25
26
27
# File 'lib/inspec/resources/ksh.rb', line 23

def initialize(command, options = {})
  @raw_command = command
  options[:shell] = "ksh" if options.is_a?(Hash)
  super(CommandWrapper.wrap(command, options))
end