[前][次][番号順一覧][スレッド一覧]

ruby-changes:38781

From: hsbt <ko1@a...>
Date: Sat, 13 Jun 2015 11:40:52 +0900 (JST)
Subject: [ruby-changes:38781] hsbt:r50862 (trunk): * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash

hsbt	2015-06-13 11:40:38 +0900 (Sat, 13 Jun 2015)

  New Revision: 50862

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=50862

  Log:
    * lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash

  Modified files:
    trunk/ChangeLog
    trunk/lib/tempfile.rb
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 50861)
+++ ChangeLog	(revision 50862)
@@ -1,3 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1
+Sat Jun 13 11:39:43 2015  SHIBATA Hiroshi  <hsbt@r...>
+
+	* lib/tempfile.rb: Fix typo. [fix GH-933] Patch by @Zorbash
+
 Sat Jun 13 11:38:00 2015  SHIBATA Hiroshi  <hsbt@r...>
 
 	* ext/openssl/ossl_ocsp.c: fix documentation on ocsp response cert status.
Index: lib/tempfile.rb
===================================================================
--- lib/tempfile.rb	(revision 50861)
+++ lib/tempfile.rb	(revision 50862)
@@ -302,8 +302,8 @@ class Tempfile < DelegateClass(File) https://github.com/ruby/ruby/blob/trunk/lib/tempfile.rb#L302
   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 https://github.com/ruby/ruby/blob/trunk/lib/tempfile.rb#L313
 # 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.

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]