Mark Dodwell | 16 May 00:43

Re: Create an empty file of certain size

> fd.truncate( 2 ** 20 )

Thanks that's great, didn't know about that method!
--

-- 
Posted via http://www.ruby-forum.com/.


Gmane