Project

General

Profile

Bug #6708 ยป 0001-Remove-unused-parameter.patch

oscardelben (Oscar Del Ben), 07/09/2012 09:04 AM

View differences:

lib/fileutils.rb
# FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or \
# system 'make hello.o'
#
def uptodate?(new, old_list, options = nil)
raise ArgumentError, 'uptodate? does not accept any option' if options
def uptodate?(new, old_list)
return false unless File.exist?(new)
new_time = File.mtime(new)
old_list.each do |old|
    (1-1/1)