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 “ fileHtml.close() if i call this method that time html file not created if i remove the i dont know where is the problem plz help me
fileHtml.puts “RESULT<\B>
”
fileHtml.puts “”
fileHtml.puts “
”
Field Data
”
fileHtml.puts “Log ”
fileHtml.puts “Result
”
#{@fielddata}
”
fileHtml.puts “#{@log} ”
fileHtml.puts “#{@result}
system(“start C:\test\test.html”)
end
method line that time html file created