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
xml.instruct!
xml.foo do
xml.bar "baz"
end
xml.target!
end