From d40b4d352eafa247f0288f89efc8da2f73ea2b91 Mon Sep 17 00:00:00 2001 From: matz Date: Mon, 31 Jul 2006 06:31:38 +0000 Subject: * lib/logger.rb: improves the amount of documentation that Rdoc picks up when processing logger.rb by moving the require statement back before the comment block. a patch from Hugh Sasse . [ruby-core:08422] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/logger.rb | 6 +++--- lib/readbytes.rb | 5 +++++ lib/weakref.rb | 18 ++++++++++++++---- 3 files changed, 22 insertions(+), 7 deletions(-) diff --git a/lib/logger.rb b/lib/logger.rb index 9a2b51d6d..bf5c837ed 100644 --- a/lib/logger.rb +++ b/lib/logger.rb @@ -17,6 +17,9 @@ # +require 'monitor' + + # # == Description # @@ -174,9 +177,6 @@ # -require 'monitor' - - class Logger VERSION = "1.2.6" /: (\S+),v (\S+)/ =~ %q$Id$ diff --git a/lib/readbytes.rb b/lib/readbytes.rb index d6a3b10af..08b92da73 100644 --- a/lib/readbytes.rb +++ b/lib/readbytes.rb @@ -12,6 +12,11 @@ class TruncatedDataError