/a><a href="#C18_L6" id=C18_L6></a><a href="#C18_L7" id=C18_L7></a><a href="#C18_L8" id=C18_L8></a><a href="#C18_L9" id=C18_L9></a><a href="#C18_L10" id=C18_L10></a><a href="#C18_L11" id=C18_L11></a><a href="#C18_L12" id=C18_L12></a></span></code></pre></div>
<p>In fact, we could also refactor the above stateless helper into a class-based
helper by making the function into a <code>compute</code> method on the class:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/helpers/format-curr