summaryrefslogtreecommitdiff
path: root/lib/logger.rb
diff options
context:
space:
mode:
authornahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-18 07:58:09 +0000
committernahi <nahi@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-09-18 07:58:09 +0000
commitc40f4227f576a6433ffd1d61e1e53cad81ad1e7d (patch)
tree6a312978b243d5b51f3763c1955ab18c3cb98104 /lib/logger.rb
parent7e1c97611ac9ca75b7b0ded320c0d988f486a3e4 (diff)
* lib/logger.rb: Comment fix. I don't like inline documentation... Hard to
maintain, doesn't go together with refactoring. [defensively] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/logger.rb')
-rw-r--r--lib/logger.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/logger.rb b/lib/logger.rb
index 34e64ddaf3..848e6b3973 100644
--- a/lib/logger.rb
+++ b/lib/logger.rb
@@ -23,11 +23,11 @@
# file = open('foo.log', File::WRONLY | File::APPEND)
# # To create new (and to remove old) logfile, add File::CREAT like;
# # file = open('foo.log', File::WRONLY | File::APPEND | File::CREAT)
-# logger = Device::Logger.new(file)
+# logger = Logger.new(file)
#
# 4. Create logger which ages logfile automatically. Leave 10 ages and each
# file is about 102400 bytes.
-# logger = Device::Logger.new('foo.log', 10, 102400)
+# logger = Logger.new('foo.log', 10, 102400)
#
# 5. Create logger which ages logfile daily/weekly/monthly automatically.
# logger = Logger.new('foo.log', 'daily')