title: Can HAML do a "capture", kind of like a render_to_string in Ruby on Rails?
body: <p>I heard that HAML has a <code>capture</code> function that can do something like Ruby on Rails's <code>render_to_string</code>, but can't find info on it.  Actually, in View, we can use  <code>aString = render :partial ...</code> and <code>render</code> actually works the same as <code>render_to_string</code> (as on Rail 2.2.2).  But is there also an HAML way of doing it by <code>capture</code>?</p>