From 655b3da03ca31576d2318e674d71ff52b58c887a Mon Sep 17 00:00:00 2001 From: tenderlove Date: Wed, 25 Jul 2018 18:04:16 +0000 Subject: [PATCH] Fixes the File::CREAT logger documentation Co-Authored-By: Matias Korhonen git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/logger.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/logger.rb b/lib/logger.rb index 0615546d18..406ae14562 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -109,7 +109,7 @@ require 'monitor' # 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) #