* 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:
parent
addd2cb06e
commit
0170c2fc4d
|
@ -45,7 +45,7 @@ require 'thread'
|
||||||
# Therefore, one should always call #unlink or close in an ensure block, like
|
# Therefore, one should always call #unlink or close in an ensure block, like
|
||||||
# this:
|
# this:
|
||||||
#
|
#
|
||||||
# file = Tempfile.new('foo)
|
# file = Tempfile.new('foo')
|
||||||
# begin
|
# begin
|
||||||
# ...do something with file...
|
# ...do something with file...
|
||||||
# ensure
|
# ensure
|
||||||
|
@ -236,7 +236,7 @@ class Tempfile < DelegateClass(File)
|
||||||
# the file after using it, as is explained in the "Explicit close" good
|
# the file after using it, as is explained in the "Explicit close" good
|
||||||
# practice section in the Tempfile overview:
|
# practice section in the Tempfile overview:
|
||||||
#
|
#
|
||||||
# file = Tempfile.new('foo)
|
# file = Tempfile.new('foo')
|
||||||
# begin
|
# begin
|
||||||
# ...do something with file...
|
# ...do something with file...
|
||||||
# ensure
|
# ensure
|
||||||
|
|
Loading…
Reference in New Issue