1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2014-08-11 02:26:36 +00:00
parent 9388ad4207
commit 84ae5332e5
2 changed files with 8 additions and 1 deletions

View file

@ -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.

View file

@ -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.