From: King Maker Date: 2010-05-27T19:51:29+09:00 Subject: If call method HTML file not create def Readfrom_file(fieldata,log,result) @fielddata = 1234 @log = 123 @result = 12322 puts @fielddata puts @log puts @result fileHtml = File.new("C:\\test\\test.html", "w+") fileHtml.puts "
RESULT<\B>

" fileHtml.puts "" fileHtml.puts "" fileHtml.puts "" fileHtml.puts "" fileHtml.puts "" fileHtml.close() system("start C:\\test\\test.html") end if i call this method that time html file not created if i remove the method line that time html file created i dont know where is the problem plz help me -- Posted via http://www.ruby-forum.com/.
Field Data" fileHtml.puts "LogResult
#{@fielddata}" fileHtml.puts "#{@log}#{@result}