Module Merb::Template::Erubis::Mixin
In: lib/merb-core/controller/template.rb

Methods

Public Instance methods

Provides direct acccess to the buffer for this view context

Parameters

the_binding<Binding>:The binding to pass to the buffer.

Returns

DOC

Parameters

*args:Arguments to pass to the block.
&block:The template block to call.

Returns

String:The output of the block.

Examples

Capture being used in a .html.erb page:

  <% @foo = capture do %>
    <p>Some Foo content!</p>
  <% end %>

[Validate]