From 69b87873372d0d70fc07fc9e5a451966d58fe199 Mon Sep 17 00:00:00 2001 From: Oscar Del Ben Date: Sun, 8 Jul 2012 17:02:28 -0700 Subject: [PATCH] Remove unused parameter --- lib/fileutils.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/fileutils.rb b/lib/fileutils.rb index ff317de..1303b96 100644 --- a/lib/fileutils.rb +++ b/lib/fileutils.rb @@ -221,9 +221,7 @@ public # 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.7.11