title: how to use content_tag in a lib/class
body: <p>my problem: I want to create a class TitlePanel in my lib folder that class uses the content_tag method but I can't figure out how to load it. I have tried all require 'xxx' that I could think of and it keeps giving me error messages that it can't find the required file.</p>
  
  <p>Basically, what I am trying to do is create a helper that generates html, but I have to pass thru a class to store some value first. Ex of what I am trying to do:</p>
  
  <pre><code>title = TitlePanel.new("this is my title")
  title.add_panel "help" do
    content_tag :div, "this is the help section..."
  end
  title.add_panel "search" do
     content_tag :div, "this is the search section..."
  end
  
  title.to_s
  </code></pre>
  
  <p>the output being all the required HTML to make this work. </p>