summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--lib/tempfile.rb1
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2fbf13493e..19741886ae 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sun Dec 4 22:34:43 2011 Tanaka Akira <akr@fsij.org>
+
+ * lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.
+
Sun Dec 4 12:11:28 2011 Kazuki Tsujimoto <kazuki@callcc.net>
* lib/pp.rb: fix rdoc.
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 22401b030c..ba2a437f79 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -79,7 +79,6 @@ require 'thread'
# same Tempfile object from multiple threads then you should protect it with a
# mutex.
class Tempfile < DelegateClass(File)
- MAX_TRY = 10 # :nodoc:
include Dir::Tmpname
# call-seq: