Module: ActionView::AbstractRenderer::ObjectRendering

Defined in:
actionview/lib/action_view/renderer/abstract_renderer.rb

Overview

:nodoc:

Constant Summary collapse

PREFIXED_PARTIAL_NAMES =
Concurrent::Map.new do |h, k|
  h.compute_if_absent(k) { Concurrent::Map.new }
end

Instance Method Summary collapse

Instance Method Details

#initialize(lookup_context, options) ⇒ Object



37
38
39
40
# File 'actionview/lib/action_view/renderer/abstract_renderer.rb', line 37

def initialize(lookup_context, options)
  super
  @context_prefix = lookup_context.prefixes.first
end