| Module | Merb::Template::Erubis::Mixin |
| In: |
lib/merb-core/controller/template.rb
|
Provides direct acccess to the buffer for this view context
| the_binding<Binding>: | The binding to pass to the buffer. |
DOC
| *args: | Arguments to pass to the block. |
| &block: | The template block to call. |
| String: | The output of the block. |
Capture being used in a .html.erb page:
<% @foo = capture do %>
<p>Some Foo content!</p>
<% end %>