From 84ae5332e5cce7a231789d75ec0e293ff838cb3e Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 11 Aug 2014 02:26:36 +0000 Subject: lib/tempfile.rb: include doc of Tempfile.open * lib/tempfile.rb: start rdoc parsing inside singleton class definition to include the document there. [ruby-core:64157] [Bug #10105] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tempfile.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/tempfile.rb') 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. -- cgit v1.2.3