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

ruby-changes:51842

From: tenderlove <ko1@a...>
Date: Thu, 26 Jul 2018 03:04:21 +0900 (JST)
Subject: [ruby-changes:51842] tenderlove:r64056 (trunk): Fixes the File::CREAT logger documentation

tenderlove	2018-07-26 03:04:16 +0900 (Thu, 26 Jul 2018)

  New Revision: 64056

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

  Log:
    Fixes the File::CREAT logger documentation
    
    Co-Authored-By: Matias Korhonen <matias@k...>

  Modified files:
    trunk/lib/logger.rb
Index: lib/logger.rb
===================================================================
--- lib/logger.rb	(revision 64055)
+++ lib/logger.rb	(revision 64056)
@@ -109,7 +109,7 @@ require 'monitor' https://github.com/ruby/ruby/blob/trunk/lib/logger.rb#L109
 # 3. Create a logger for the specified file.
 #
 #      file = File.open('foo.log', File::WRONLY | File::APPEND)
-#      # To create new (and to remove old) logfile, add File::CREAT like:
+#      # To create new logfile, add File::CREAT like:
 #      # file = File.open('foo.log', File::WRONLY | File::APPEND | File::CREAT)
 #      logger = Logger.new(file)
 #

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

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