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.



358
359
360
# File 'lib/inspec/profile.rb', line 358

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