method

uptodate?

Importance_1
uptodate?(new, old_list) public

Returns true if new is newer than all old_list. Non-existent files are older than any file.

FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or \
    system 'make hello.o'
Show source
Register or log in to add new notes.