method

write_fragment_for

rails latest stable - Class: ActionView::Helpers::CacheHelper
write_fragment_for(name, options, &block)
private

No documentation available.

# File actionview/lib/action_view/helpers/cache_helper.rb, line 284
      def write_fragment_for(name, options, &block)
        fragment = output_buffer.capture(&block)
        controller.write_fragment(name, fragment, options)
      end