Oops.....  Just needed to require 'readbytes'

--Aaron

On Thu, Jan 04, 2007 at 04:28:52AM +0900, Aaron Patterson wrote:
> I'm trying to read bytes from a file, and it would be handy if there was
> a method that threw an exception if I couldn't read that many bytes, or
> encountered an EOF.
> 
> IO#readbytes seems like the perfect method, but I have an instance of File.
> The documentation says that File inherits from IO, but the File instance
> doesn't seem to have the readbytes method.  Am I missing something?
> 
> --Aaron
> 
> -- 
> Aaron Patterson
> http://tenderlovemaking.com/
> 

-- 
Aaron Patterson
http://tenderlovemaking.com/