[前][次][番号順一覧][スレッド一覧]

ruby-changes:24349

From: ayumin <ko1@a...>
Date: Mon, 16 Jul 2012 17:17:42 +0900 (JST)
Subject: [ruby-changes:24349] ayumin:r36400 (trunk): * lib/fileutils.rb (uptodate?): remove useless parameter.

ayumin	2012-07-16 17:15:05 +0900 (Mon, 16 Jul 2012)

  New Revision: 36400

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36400

  Log:
    * lib/fileutils.rb (uptodate?): remove useless parameter.
      patched by Oscar Del Ben.[Bug #6708][ruby-core:46256]

  Modified files:
    trunk/ChangeLog
    trunk/lib/fileutils.rb

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36399)
+++ ChangeLog	(revision 36400)
@@ -1,3 +1,8 @@
+Mon Jul 16 16:56:12 2012  Ayumu AIZAWA  <ayumu.aizawa@g...>
+
+	* lib/fileutils.rb (public): remove useless parameter.
+	  patched by Oscar Del Ben.[Bug #6708][ruby-core:46256]
+
 Mon Jul 16 15:37:56 2012  Tanaka Akira  <akr@f...>
 
 	* bignum.c (rb_big_eq): use rb_big_float_cmp.
Index: lib/fileutils.rb
===================================================================
--- lib/fileutils.rb	(revision 36399)
+++ lib/fileutils.rb	(revision 36400)
@@ -221,9 +221,7 @@
   #   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|

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]