method

uptodate?

ruby latest stable - Class: Bundler::FileUtils

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

uptodate?(new, old_list)
public

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

Bundler::FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or \
    system 'make hello.o'