method

new

rails latest stable - Class: ActionView::Partials::PartialRenderer

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.0.9) is shown here.

new(view_context, options, block)
public

No documentation available.

# File actionpack/lib/action_view/render/partials.rb, line 219
      def initialize(view_context, options, block)
        @view           = view_context
        @partial_names  = PARTIAL_NAMES[@view.controller.class.name]

        setup(options, block)
      end