title: Ruby - Delete the last character in a file?
body: <p>Seems like it must be easy, but I just can't figure it out. How do you delete the very last character of a file using Ruby IO?</p>
  
  <p>I took a look at the answer for <a href="https://stackoverflow.com/questions/1190383/how-to-delete-last-line-of-file-in-ruby">deleting the last line of a file</a> with Ruby but didn't fully understand it, and there must be a simpler way.</p>
  
  <p>Any help?</p>