_layout_for(*args, &block)
Instance Public methods
Overwrites #_layout_for in the
context object so it supports the case a block is passed to a partial.
Returns the contents that are yielded to a layout, given a name or a block.
You can think of a layout as a method that is called with a block. If the
user calls yield :some_name, the block, by default, returns
content_for(:some_name). If the user calls simply
yield, the default block returns
content_for(:layout).
The user can o