mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Fixes the File::CREAT logger documentation
Co-Authored-By: Matias Korhonen <matias@kiskolabs.com> git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
a818fca33a
commit
655b3da03c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue