From: Ezra Zygmuntowicz Date: 2007-06-28T10:42:36+09:00 Subject: Re: Is there a nifty ruby hack for this set of commands? On Jun 27, 2007, at 6:33 PM, Frank Church wrote: > [header_commands, mysql_commands, dir_commands, scp_commands] each > {|x| > f.puts x } [header_commands, mysql_commands, dir_commands, scp_commands].flatten.each {|x| f.puts x } Cheers- -- Ezra Zygmuntowicz -- Lead Rails Evangelist -- ez@engineyard.com -- Engine Yard, Serious Rails Hosting -- (866) 518-YARD (9273)