module

ActionView::Helpers::CaptureHelper

v6.1.7.7 - Show latest stable

CaptureHelper exposes methods to let you extract generated markup which can be used in other parts of a template or layout file.

It provides a method to capture blocks into variables through capture and a way to capture a block of markup for use in a layout through {content_for}[rdoc-ref:ActionView::Helpers::CaptureHelper#content_for].

Files

  • actionview/lib/action_view/helpers/capture_helper.rb