class RspecFileChef::FileChef

Public Class Methods

new(*tracking_files) click to toggle source
# File lib/rspec_file_chef/file_chef.rb, line 11
def initialize(*tracking_files)
  @tracking_files = tracking_files
  @path_table = {}
  check_tracking_files
  set_rspec_path
  set_dir_paths
end

Public Instance Methods

clear() click to toggle source
# File lib/rspec_file_chef/file_chef.rb, line 26
def clear
  delete_test_files
  restore_tracking_files
  delete_nonexistent_dirs
end
make() click to toggle source
# File lib/rspec_file_chef/file_chef.rb, line 19
def make
  create_path_table
  move_to_tmp_dir
  create_nonexistent_dirs
  copy_from_test_dir
end