From 635349fb86b3058d7e3e083c7270805681628b5c Mon Sep 17 00:00:00 2001 From: drbrain Date: Fri, 4 Aug 2006 18:05:50 +0000 Subject: Documentation cleanup. Includes patches by Hugh Sasse: * ping.rb * weakref.rb * mailread.rb git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/readbytes.rb | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'lib/readbytes.rb') diff --git a/lib/readbytes.rb b/lib/readbytes.rb index 08b92da73..ebb5fc0bd 100644 --- a/lib/readbytes.rb +++ b/lib/readbytes.rb @@ -1,22 +1,22 @@ -# readbytes.rb -# -# add IO#readbytes, which reads fixed sized data. -# it guarantees read data size. +# TruncatedDataError is raised when IO#readbytes fails to read enough data. class TruncatedDataError