title: Rails HAML helper to display a list item
body: <p>I am having difficulty getting my helper to display a list item. The markup looks like the following:</p>
  
  <pre><code>   - @bars.each do |bar|
        &lt;% display_bar(bar) %&gt;
  </code></pre>
  
  <p>The actual helper looks like the following:</p>
  
  <pre><code>module MyHelper
    def display_bar(bar)
      type = bar.type
      concat(%li.type)
      concat(%b some text)
      concat(%i some more text)
    end
  end
  </code></pre>
  
  <p>What am I doing wrong here?</p>