* lib/tempfile.rb: fixed typos.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2009-08-26 13:36:28 +00:00
parent addd2cb06e
commit 0170c2fc4d
1 changed files with 7 additions and 7 deletions

View File

@ -45,7 +45,7 @@ require 'thread'
# Therefore, one should always call #unlink or close in an ensure block, like
# this:
#
# file = Tempfile.new('foo)
# file = Tempfile.new('foo')
# begin
# ...do something with file...
# ensure
@ -236,7 +236,7 @@ class Tempfile < DelegateClass(File)
# the file after using it, as is explained in the "Explicit close" good
# practice section in the Tempfile overview:
#
# file = Tempfile.new('foo)
# file = Tempfile.new('foo')
# begin
# ...do something with file...
# ensure