title: Rails: Split and wrap each character in a string?
body: <p>I have something like:</p>
  
  <pre><code>&lt;%= @votes %&gt;
  </code></pre>
  
  <p>With just outputs a string like:</p>
  
  <pre><code>123
  </code></pre>
  
  <p>Is there a simple way to wrap each character with some html with a helper?</p>
  
  <pre><code>&lt;span class="outerclass"&gt;
    &lt;span class="innerclass"&gt;
    1
    &lt;/span&gt;
  &lt;/span&gt;
  
  &lt;span class="outerclass"&gt;
    &lt;span class="innerclass"&gt;
    2
    &lt;/span&gt;
  &lt;/span&gt;
  
  &lt;span class="outerclass"&gt;
    &lt;span class="innerclass"&gt;
    3
    &lt;/span&gt;
  &lt;/span&gt;
  </code></pre>