Method: Bak::FileCopier#start

Defined in:
lib/bak/copier.rb

#startObject



26
27
28
29
30
31
32
33
# File 'lib/bak/copier.rb', line 26

def start
    errors = check_errors
    if errors
        @output.puts errors
    else
        FileUtils.cp_r(start_file, end_file)
    end
end