Method: Inspec::Resources::PowershellScript#strip

Defined in:
lib/resources/powershell.rb

#stripObject

Removes leading and trailing whitespace from stdout



40
41
42
# File 'lib/resources/powershell.rb', line 40

def strip
  result.stdout.strip unless result.stdout.nil?
end