From: Morton Goldberg Date: 2006-07-30T15:31:30+09:00 Subject: Re: How to Create a New File This is just golfing, and I should be ashamed of myself, but something like ... `>~/new_file.txt` ... will do it on most Unix systems (including Mac OS X). Regards, Morton On Jul 30, 2006, at 1:35 AM, Skeets wrote: > let's say I want to create a new file named new_file.txt. how do i do > this in ruby? it would seem to be trivial, however, i'm going through > the pickaxe book and i can't find anything that relates to this.