From: John Wu Date: 2010-05-19T11:19:00+09:00 Subject: Write whitespace to a file Hi, I need to write many whitespaces to a file, what is the best way to do that. For example, I have f.puts " abc" and there are 5 whitespaces before abc, what is the best way to do this instead of typing 5 whitspaces? Thanks -- Posted via http://www.ruby-forum.com/.