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
221 221
  #   FileUtils.uptodate?('hello.o', %w(hello.c hello.h)) or \
222 222
  #       system 'make hello.o'
223 223
  #
224
  def uptodate?(new, old_list, options = nil)
225
    raise ArgumentError, 'uptodate? does not accept any option' if options
226

  
224
  def uptodate?(new, old_list)
227 225
    return false unless File.exist?(new)
228 226
    new_time = File.mtime(new)
229 227
    old_list.each do |old|
230
-