title: what's the best way to format an xml string in ruby?
body: <p>given an xml string like this:</p>
  
  <pre><code>&lt;some&gt;&lt;nested&gt;&lt;xml&gt;value&lt;/xml&gt;&lt;/nested&gt;&lt;/some&gt;
  </code></pre>
  
  <p>what's the best option (using ruby) to format it into something readable like:</p>
  
  <pre><code>&lt;some&gt;
    &lt;nested&gt;
      &lt;xml&gt;value&lt;/xml&gt;
    &lt;/nested&gt;
  &lt;/some&gt;
  </code></pre>