truncate « File Directory « Ruby





1.Erase all existing content
2.File.truncate