* 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
|
||||
# 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
|
||||
|
|
Loading…
Reference in New Issue