summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--lib/tempfile.rb3
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 214fa40831..e0ca952d28 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Mon Aug 11 11:26:33 2014 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * lib/tempfile.rb: start rdoc parsing inside singleton class
+ definition to include the document there.
+ [ruby-core:64157] [Bug #10105]
+
Sun Aug 10 12:22:43 2014 Masaki Suketa <masaki.suketa@nifty.ne.jp>
* ext/win32ole/win32ole_type.c: refactoring.
diff --git a/lib/tempfile.rb b/lib/tempfile.rb
index 4fcd431ecd..d082ab22b7 100644
--- a/lib/tempfile.rb
+++ b/lib/tempfile.rb
@@ -295,9 +295,10 @@ class Tempfile < DelegateClass(File)
STDERR.print "done\n" if $DEBUG
end
end
- # :startdoc:
class << self
+ # :startdoc:
+
# Creates a new Tempfile.
#
# If no block is given, this is a synonym for Tempfile.new.