From 654b90d31a59f16a3c03b7def85acac84d722034 Mon Sep 17 00:00:00 2001 From: hsbt Date: Sat, 13 Jun 2015 02:40:38 +0000 Subject: * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@50862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/tempfile.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/tempfile.rb') diff --git a/lib/tempfile.rb b/lib/tempfile.rb index 63d4f8c330..77f3e4ede3 100644 --- a/lib/tempfile.rb +++ b/lib/tempfile.rb @@ -302,8 +302,8 @@ class Tempfile < DelegateClass(File) end end -# Creates a temporally file as usual File object (not Tempfile). -# It don't use finalizer and delegation. +# Creates a temporary file as usual File object (not Tempfile). +# It doesn't use finalizer and delegation. # # If no block is given, this is similar to Tempfile.new except # creating File instead of Tempfile. @@ -313,7 +313,7 @@ end # If a block is given, then a File object will be constructed, # and the block is invoked with the object as the argument. # The File object will be automatically closed and -# the temporally file is removed after the block terminates. +# the temporary file is removed after the block terminates. # The call returns the value of the block. # # In any case, all arguments (+*args+) will be treated as Tempfile.new. -- cgit v1.2.3