method

uptodate?

v1_9_2_180 - Show latest stable - Class: FileUtils
uptodate?(new, old_list, options = nil)
public

Options: (none)

Returns true if newer 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'