From: Gavin Sinclair Date: 2004-05-05T18:18:10+09:00 Subject: Re: IO::write On Wednesday, May 5, 2004, 8:14:00 AM, Ara.T.Howard wrote: >> Maybe it shouldn't be read, maybe it should be readfile and writefile, >> as well as appendfile. I'm trying to find a nice orthogonal set that >> still makes symantic sense. >> >> Charlie > how about > class File > def File.read(path) > ... > end > def File.write(path, buf) > ... > end > def File.append(path, buf) > ... > end > end Hear, hear!!! :D