From: Bil Kleb Date: 2006-08-16T20:50:03+09:00 Subject: Re: building a log by watching a file Phrogz wrote: > edit_logger.on_modify = Proc.new{ |the_file, stats_hash| > puts "Hey, #{the_file.inspect} just changed." > # Do something cool here. > } Thanks. How would I inject a running index into the "Do something cool here" part so I could save off input_deck.0, input_deck.1, and so on? Regards, -- Bil http://fun3d.larc.nasa.gov