title: Is it possible to read a file's modification date with Ruby?
body: <p>Is it possible to read a file's modification date with Ruby? I have successfully opened a text file and captured the contents of the file with</p>
  
  <pre><code>File.open("test.txt", "r").each do |line|"
  </code></pre>
  
  <p>but it would be very useful to read the modification date of the file.</p>