Method: Inspec::Resources::PowershellScript#strip

Defined in:
lib/resources/powershell.rb

#stripObject

Removes leading and trailing whitespace from stdout



45
46
47
# File 'lib/resources/powershell.rb', line 45

def strip
  result.stdout&.strip
end