Method: Inspec::Profile#cwd

Defined in:
lib/inspec/profile.rb

#cwdObject

TODO(ssd): Relative path handling really needs to be carefully thought through, especially with respect to relative paths in tarballs.



501
502
503
# File 'lib/inspec/profile.rb', line 501

def cwd
  @target.is_a?(String) && File.directory?(@target) ? @target : './'
end