Method: Inspec::Resources::PowershellScript#strip

Defined in:
lib/resources/powershell.rb

#stripObject

Removes leading and trailing whitespace from stdout



36
37
38
# File 'lib/resources/powershell.rb', line 36

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