class method self.new

Ruby on Rails 3.0.20

Since v3.0.20 Last seen in v3.0.20

Signature

self.new(view_context, options, block)

No documentation comment.

Parameters

view_context req
options req
block req
Source
# 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

Defined in actionpack/lib/action_view/render/partials.rb line 219 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Partials::PartialRenderer

Type at least 2 characters to search.

↑↓ navigate · open · esc close