public Method

Builder.cache_fragment(block, name = {}, options = nil)

There's no documentation for this item.

Source Code

# File action_view/template_handlers/builder.rb, line 20
def cache_fragment(block, name = {}, options = nil)
  @view.fragment_for(block, name, options) do
    eval('xml.target!', block.binding)
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.