title: Ruby: How to replace text in a file?
body: <p>The following code is a line in an xml file:</p>
  
  <pre><code>&lt;appId&gt;455360226&lt;/appId&gt;
  </code></pre>
  
  <p>How can I replace the number between the 2 tags with another number using ruby?</p>